backends: Make base MetaCursorRenderer implementation want an overlay
This used to be the behavior, until commit5d35138df0
changed the meaning of the return value of MetaCursorRendererClass::update_cursor(). This made the user of pure-overlay cursors (singular, MetaWaylandTabletTool) miss their overlays. Change the return value, so that it matches the desired behavior of a backend-less overlay-only cursor renderer. Fixes:5d35138df0
("cursor-renderer: Make 'handled_by_backend' state 'needs_overlay'") Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3218>
This commit is contained in:
parent
d24be90941
commit
aed9f7eb9d
@ -196,7 +196,7 @@ meta_cursor_renderer_real_update_cursor (MetaCursorRenderer *renderer,
|
||||
if (cursor_sprite)
|
||||
meta_cursor_sprite_realize_texture (cursor_sprite);
|
||||
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user