Blame SOURCES/0001-auto-move-windows-Don-t-move-windows-already-on-all-.patch

f60408
From 8a5e793b3d984f3acc378cf8914410311e9dde0e Mon Sep 17 00:00:00 2001
f60408
From: Daniel van Vugt <daniel.van.vugt@canonical.com>
f60408
Date: Thu, 28 Jan 2021 16:33:50 +0800
f60408
Subject: [PATCH] auto-move-windows: Don't move windows already on all
f60408
 workspaces
f60408
f60408
This fixes a particular case of mutter#992.
f60408
f60408
Although gnome-shell will also be softened to not crash in future, it's
f60408
also a good idea for the extension to explicitly decide how it wants to
f60408
handle windows that are already on all workspaces.
f60408
f60408
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/157>
f60408
---
f60408
 extensions/auto-move-windows/extension.js | 2 +-
f60408
 1 file changed, 1 insertion(+), 1 deletion(-)
f60408
f60408
diff --git a/extensions/auto-move-windows/extension.js b/extensions/auto-move-windows/extension.js
f60408
index b9bc3a0..3859809 100644
f60408
--- a/extensions/auto-move-windows/extension.js
f60408
+++ b/extensions/auto-move-windows/extension.js
f60408
@@ -72,7 +72,7 @@ class WindowMover {
f60408
     }
f60408
 
f60408
     _moveWindow(window, workspaceNum) {
f60408
-        if (window.skip_taskbar)
f60408
+        if (window.skip_taskbar || window.is_on_all_workspaces())
f60408
             return;
f60408
 
f60408
         // ensure we have the required number of workspaces
f60408
-- 
f60408
2.37.1
f60408