mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
core: fix build without wayland
introduced by 806f930a16
https://bugzilla.gnome.org/show_bug.cgi?id=766306
This commit is contained in:
parent
ccf6dcd865
commit
f8eb05ca6d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user