[mutter] window: Make sure not to eat any events that end grab ops
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window: Make sure not to eat any events that end grab ops
- Date: Mon, 5 May 2014 20:01:36 +0000 (UTC)
commit a5cca5296cd4a3caed214e6203cd313caad3d89a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon May 5 14:14:00 2014 -0400
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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index edf32ff..69bad65 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]