core: fix build without wayland

introduced by 806f930a16

https://bugzilla.gnome.org/show_bug.cgi?id=766306
This commit is contained in:
Victor Toso 2016-05-12 09:28:26 +02:00
parent ccf6dcd865
commit f8eb05ca6d

View File

@ -219,6 +219,7 @@ meta_display_handle_event (MetaDisplay *display,
clutter_input_device_get_device_id (source));
}
#ifdef HAVE_WAYLAND
if (meta_is_wayland_compositor () && event->type == CLUTTER_MOTION)
{
MetaWaylandCompositor *compositor;
@ -237,6 +238,7 @@ meta_display_handle_event (MetaDisplay *display,
display->monitor_cache_invalidated = TRUE;
}
#endif
handle_idletime_for_event (event);