mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 18:40:40 -05:00
core: Avoid queueing resizes while changing workspace during window drag
We already have a user move/resize going on, so avoid botching it with window resizes with flags & META_MOVE_RESIZE_USER_ACTION == 0 that will trigger unintended constraints. https://gitlab.gnome.org/GNOME/mutter/issues/192 Closes: #192
This commit is contained in:
parent
3649795108
commit
255a7afe73
@ -4734,7 +4734,7 @@ set_workspace_state (MetaWindow *window,
|
||||
/* queue a move_resize since changing workspaces may change
|
||||
* the relevant struts
|
||||
*/
|
||||
if (!window->override_redirect)
|
||||
if (!window->override_redirect && window != window->display->grab_window)
|
||||
meta_window_queue (window, META_QUEUE_MOVE_RESIZE);
|
||||
meta_window_queue (window, META_QUEUE_CALC_SHOWING);
|
||||
meta_window_current_workspace_changed (window);
|
||||
|
Loading…
Reference in New Issue
Block a user