[mutter] window: Don't stop irrelevant TOUCH_END events during window grab ops
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window: Don't stop irrelevant TOUCH_END events during window grab ops
- Date: Thu, 4 Mar 2021 23:07:19 +0000 (UTC)
commit 504af40c698fb787e8e7f88946fcc4029a208173
Author: Jonas Dreßler <verdre v0yd nl>
Date: Thu Mar 14 10:49:23 2019 +0100
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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/427>
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 47fff926e8..c843c62eed 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]