mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
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.
This commit is contained in:
parent
b00fa70d91
commit
65dd54a4db
@ -1053,6 +1053,7 @@ meta_compositor_process_event (MetaCompositor *compositor,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (!meta_is_wayland_compositor ())
|
||||
maybe_spoof_event_as_stage_event (info, window, event);
|
||||
|
||||
if (meta_plugin_manager_xevent_filter (info->plugin_mgr, event))
|
||||
|
Loading…
Reference in New Issue
Block a user