diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 12c4a39be..bbf61da33 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -1027,6 +1027,8 @@ class Workspace extends St.Widget { if (this.metaWorkspace !== null && !this.metaWorkspace.active) return; + this.layout_manager.stateAdjustment.value = 0; + // Special case maximized windows, since it doesn't make sense // to animate windows below in the stack let topMaximizedWindow; @@ -1079,6 +1081,8 @@ class Workspace extends St.Widget { if (this.metaWorkspace !== null && !this.metaWorkspace.active) return; + this.layout_manager.stateAdjustment.value = 0; + // Special case maximized windows, since it doesn't make sense // to animate windows below in the stack let topMaximizedWindow;