From 255a7afe73dcfb7bf91f8ef98ccf28b1d95beec4 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 14 Jun 2018 19:33:45 +0200 Subject: [PATCH] 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 --- src/core/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/window.c b/src/core/window.c index 743326c60..380e64a5a 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -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);