mirror of
https://github.com/brl/mutter.git
synced 2025-08-06 00:24:42 +00:00
cursor-tracker: Don't require a screen
This allows us to do initialization earlier and not have to poke into Wayland internals from the cursor tracker.
This commit is contained in:
@@ -207,6 +207,8 @@ meta_wayland_pointer_init (MetaWaylandPointer *pointer,
|
||||
|
||||
manager = clutter_device_manager_get_default ();
|
||||
pointer->device = clutter_device_manager_get_core_device (manager, CLUTTER_POINTER_DEVICE);
|
||||
|
||||
pointer->cursor_tracker = meta_cursor_tracker_get_for_screen (NULL);
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user