events: Remove an overzealous ifdef

This commit is contained in:
Jasper St. Pierre 2014-09-16 18:53:30 -06:00
parent 1de740955f
commit dbb7b9e85b

View File

@ -188,13 +188,11 @@ meta_display_handle_event (MetaDisplay *display,
}
#endif
#ifdef HAVE_WAYLAND
if (meta_is_wayland_compositor () && event->type == CLUTTER_MOTION)
{
MetaCursorTracker *tracker = meta_cursor_tracker_get_for_screen (NULL);
meta_cursor_tracker_update_position (tracker, event->motion.x, event->motion.y);
}
#endif
handle_idletime_for_event (event);