[mutter/wayland] display: don't interrupt grab move/resize without modifiers
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] display: don't interrupt grab move/resize without modifiers
- Date: Tue, 15 Oct 2013 17:33:43 +0000 (UTC)
commit 01b8ffac5dcecbf9d7d3a5fc03d179f6360e16a1
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Tue Jul 23 17:48:16 2013 +0100
display: don't interrupt grab move/resize without modifiers
The part of code dealing with move/resize grab in display.c is only
responsible of this behavior when triggered with a modifier. So it
shouldn't stop the move/resize behavior triggered from a mouse event
without modifier on the title bar or sides of the window.
https://bugzilla.gnome.org/show_bug.cgi?id=704759
src/core/display.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 9a0d809..c7f1a34 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -2411,6 +2411,7 @@ meta_display_handle_event (MetaDisplay *display,
if ((window &&
meta_grab_op_is_mouse (display->grab_op) &&
+ (device_event->mods.effective & display->window_grab_modifiers) &&
display->grab_button != device_event->detail &&
display->grab_window == window) ||
grab_op_is_keyboard (display->grab_op))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]