auto-move-windows: Don't move windows already on all workspaces
This fixes a particular case of mutter#992. Although gnome-shell will also be softened to not crash in future, it's also a good idea for the extension to explicitly decide how it wants to handle windows that are already on all workspaces. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/157>
This commit is contained in:
@@ -72,7 +72,7 @@ class WindowMover {
|
||||
}
|
||||
|
||||
_moveWindow(window, workspaceNum) {
|
||||
if (window.skip_taskbar)
|
||||
if (window.skip_taskbar || window.is_on_all_workspaces())
|
||||
return;
|
||||
|
||||
// ensure we have the required number of workspaces
|
||||
|
||||
Reference in New Issue
Block a user