mirror of
https://github.com/brl/mutter.git
synced 2025-02-05 16:14:10 +00:00
events: Remove obsolete COMPOSITOR_GRAB check
We already bypass wayland if there is a ClutterGrab, so the case that used to be covered by the event-route check is already handled, and we can just remove the obsolete check. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2436>
This commit is contained in:
parent
fabad0be9c
commit
022f47ebfe
@ -524,10 +524,6 @@ meta_display_handle_event (MetaDisplay *display,
|
||||
}
|
||||
|
||||
out:
|
||||
/* If the compositor has a grab, don't pass that through to Wayland */
|
||||
if (display->event_route == META_EVENT_ROUTE_COMPOSITOR_GRAB)
|
||||
bypass_wayland = TRUE;
|
||||
|
||||
/* If a Wayland client has a grab, don't pass that through to Clutter */
|
||||
if (display->event_route == META_EVENT_ROUTE_WAYLAND_POPUP)
|
||||
bypass_clutter = !bypass_wayland;
|
||||
|
Loading…
x
Reference in New Issue
Block a user