Commit 02220ed6 authored by Jasper St. Pierre's avatar Jasper St. Pierre
Browse files

window: Don't eat events on O-R windows

For XWayland, we need to make sure to send out mouse events on O-R
windows, otherwise they won't get motion or button events.

The comment mentions being eaten for the compositor, but we already
bypass the compositor for all events that have a window. The return
value just controls whether we pass them to Wayland.
parent 8d08851f
......@@ -7786,11 +7786,9 @@ meta_window_handle_ungrabbed_event (MetaWindow *window,
/* Some windows might not ask for input, in which case we might be here
* because we selected for ButtonPress on the root window. In that case,
* we have to take special care not to act for an override-redirect window.
*
* Consume the event in this case, though, since we don't want it passed
* to the compositor or UI. */
*/
if (window->override_redirect)
return TRUE;
return FALSE;
/* We have three passive button grabs:
* - on any button, without modifiers => focuses and maybe raises the window
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment