We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5d774d commit 66b745cCopy full SHA for 66b745c
src/WorkspaceManager.vala
@@ -263,7 +263,9 @@ public class Gala.WorkspaceManager : Object {
263
unowned Meta.WorkspaceManager manager = wm.get_display ().get_workspace_manager ();
264
265
foreach (var workspace in manager.get_workspaces ()) {
266
- maybe_remove_workspace (workspace, null);
+ if (!workspace.active && Utils.get_n_windows (workspace, true) == 0 && workspace.index () != manager.n_workspaces - 1) {
267
+ queue_remove_workspace (workspace);
268
+ }
269
}
270
271
0 commit comments