From 022f47ebfe09e693246978a6875ec263fd2084b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 27 May 2022 19:33:32 +0200 Subject: [PATCH] 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: --- src/core/events.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core/events.c b/src/core/events.c index d5a9a93da..1863e8a58 100644 --- a/src/core/events.c +++ b/src/core/events.c @@ -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;