diff options
author | Victor Toso <victortoso@redhat.com> | 2016-05-12 09:28:26 +0200 |
---|---|---|
committer | Victor Toso <victortoso@redhat.com> | 2016-05-12 09:33:26 +0200 |
commit | f8eb05ca6dd37d4e869508d47a71a2c0c6760dfa (patch) | |
tree | ca7eec778b8e62005e69679e9734fb5b04706719 /src/core | |
parent | ccf6dcd8650b6fe7cc98dc083938e08a396d7f5b (diff) | |
download | mutter-f8eb05ca6dd37d4e869508d47a71a2c0c6760dfa.tar.gz |
core: fix build without wayland
introduced by 806f930a161415366e44f42df667a07d453add74
https://bugzilla.gnome.org/show_bug.cgi?id=766306
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/events.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/events.c b/src/core/events.c index 957e53fa0..70647ea90 100644 --- a/src/core/events.c +++ b/src/core/events.c @@ -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); |