Commit 01b8ffac authored by Lionel Landwerlin's avatar Lionel Landwerlin

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.
parent 1fa56bd7
......@@ -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))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment