From ae44bff0b16dfa8bf5d78bea0428fd544a44482f Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Wed, 13 Nov 2013 21:38:27 +0100 Subject: [PATCH] display: Without a grab op let events go through clutter too We want events to reach clutter no only when there a compositor modal grab but also when no grab op is in effect. https://bugzilla.gnome.org/show_bug.cgi?id=712247 --- src/core/display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/display.c b/src/core/display.c index 4de870ad4..f49b64bd7 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -2296,7 +2296,8 @@ meta_display_handle_event (MetaDisplay *display, } #endif /* HAVE_WAYLAND */ - return (display->grab_op != META_GRAB_OP_COMPOSITOR); + return (display->grab_op != META_GRAB_OP_NONE && + display->grab_op != META_GRAB_OP_COMPOSITOR); } static gboolean