diff options
author | Giovanni Campagna <gcampagna@src.gnome.org> | 2014-02-27 14:27:21 +0100 |
---|---|---|
committer | Giovanni Campagna <gcampagna@src.gnome.org> | 2014-02-27 14:28:46 +0100 |
commit | 65dd54a4dba379a1fe48cb206553ead697eb2aca (patch) | |
tree | 8042f9af857c4e906e66e9c0a91e3d477f1d1ba0 | |
parent | b00fa70d91de7be3a83a0e8e1fa8be4ad49bfe65 (diff) | |
download | mutter-65dd54a4dba379a1fe48cb206553ead697eb2aca.tar.gz |
compositor: don't spoof events when running as a wayland compositor
Weirdly, clutter stopped segfaulting when we call clutter_x11 methods
and the backend is not right, but this is correct anyway, and
probably fixes some BadDrawable errors in mutter-wayland on x11,
caused by mixing windows of the outer X and windows of Xwayland.
-rw-r--r-- | src/compositor/compositor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c index 684a953dc..c7a2959fa 100644 --- a/src/compositor/compositor.c +++ b/src/compositor/compositor.c @@ -1053,7 +1053,8 @@ meta_compositor_process_event (MetaCompositor *compositor, return TRUE; } - maybe_spoof_event_as_stage_event (info, window, event); + if (!meta_is_wayland_compositor ()) + maybe_spoof_event_as_stage_event (info, window, event); if (meta_plugin_manager_xevent_filter (info->plugin_mgr, event)) { |