mirror of
https://github.com/brl/mutter.git
synced 2025-03-04 20:28:11 +00:00
events: Remove an overzealous ifdef
This commit is contained in:
parent
1de740955f
commit
dbb7b9e85b
@ -188,13 +188,11 @@ meta_display_handle_event (MetaDisplay *display,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_WAYLAND
|
|
||||||
if (meta_is_wayland_compositor () && event->type == CLUTTER_MOTION)
|
if (meta_is_wayland_compositor () && event->type == CLUTTER_MOTION)
|
||||||
{
|
{
|
||||||
MetaCursorTracker *tracker = meta_cursor_tracker_get_for_screen (NULL);
|
MetaCursorTracker *tracker = meta_cursor_tracker_get_for_screen (NULL);
|
||||||
meta_cursor_tracker_update_position (tracker, event->motion.x, event->motion.y);
|
meta_cursor_tracker_update_position (tracker, event->motion.x, event->motion.y);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
handle_idletime_for_event (event);
|
handle_idletime_for_event (event);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user