cursor-renderer: Pass backend to constructor
Then use the backend passed instead of the global singleton. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1289
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
7876018755
commit
55302dbb38
@ -931,7 +931,7 @@ meta_wayland_tablet_tool_update (MetaWaylandTabletTool *tool,
|
||||
break;
|
||||
case CLUTTER_PROXIMITY_IN:
|
||||
if (!tool->cursor_renderer)
|
||||
tool->cursor_renderer = meta_cursor_renderer_new ();
|
||||
tool->cursor_renderer = meta_cursor_renderer_new (meta_get_backend ());
|
||||
tool->current_tablet =
|
||||
meta_wayland_tablet_seat_lookup_tablet (tool->seat,
|
||||
clutter_event_get_source_device (event));
|
||||
|
Reference in New Issue
Block a user