From 504af40c698fb787e8e7f88946fcc4029a208173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Thu, 14 Mar 2019 10:49:23 +0100 Subject: [PATCH] window: Don't stop irrelevant TOUCH_END events during window grab ops During window grab ops we only react to touch events that have the pointer emulating sequence, all other events should be propagated. Part-of: --- src/core/window.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/window.c b/src/core/window.c index 47fff926e..c843c62ee 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -6523,9 +6523,10 @@ meta_window_handle_mouse_grab_op_event (MetaWindow *window, } case CLUTTER_TOUCH_END: - if (meta_display_is_pointer_emulating_sequence (window->display, sequence)) - end_grab_op (window, event); + if (!meta_display_is_pointer_emulating_sequence (window->display, sequence)) + return FALSE; + end_grab_op (window, event); return TRUE; case CLUTTER_BUTTON_RELEASE: