mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
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
This commit is contained in:
parent
55840c626c
commit
0e3aab8691
@ -2349,6 +2349,7 @@ event_callback (XEvent *event,
|
||||
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user