aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.local/share/gnome-shell/extensions/workspace-router@rbenencia.name/extension.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/.local/share/gnome-shell/extensions/workspace-router@rbenencia.name/extension.js b/.local/share/gnome-shell/extensions/workspace-router@rbenencia.name/extension.js
index a59c491..525a5c8 100644
--- a/.local/share/gnome-shell/extensions/workspace-router@rbenencia.name/extension.js
+++ b/.local/share/gnome-shell/extensions/workspace-router@rbenencia.name/extension.js
@@ -172,8 +172,11 @@ export default class WorkspaceRouterExtension extends Extension {
'tracked-windows-changed', () => this._queueUnmatchedWindows(),
this);
- for (const actor of global.get_window_actors())
- this._trackWindow(actor.meta_window);
+ // User-mode extensions are disabled while the screen is locked and
+ // re-enabled before the monitor layout has necessarily settled. Do
+ // not treat existing windows as newly created here: doing so can move
+ // them to the laptop while it is temporarily the primary monitor.
+ // Existing windows can still be routed explicitly through the CLI.
}
disable() {
nihil fit ex nihilo