From a5cca5296cd4a3caed214e6203cd313caad3d89a Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 5 May 2014 14:14:00 -0400 Subject: [PATCH] window: Make sure not to eat any events that end grab ops We need to send the button press / button release that ended a grab op to Wayland clients so their tracking don't get confused. --- src/core/window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/window.c b/src/core/window.c index edf32ffb7..69bad6590 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -6600,6 +6600,7 @@ meta_window_handle_mouse_grab_op_event (MetaWindow *window, meta_grab_op_is_keyboard (window->display->grab_op)) { end_grab_op (window, event); + return FALSE; } return TRUE; @@ -6608,6 +6609,7 @@ meta_window_handle_mouse_grab_op_event (MetaWindow *window, event->button.button == (unsigned int) meta_prefs_get_mouse_button_resize ()) { end_grab_op (window, event); + return FALSE; } return TRUE;