From efc06234ff4ccdd571de77f92aa9f3227d1f13d6 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Fri, 7 Aug 2026 10:08:16 -0700 Subject: gnome: workspace router locked screen fix --- .../extensions/workspace-router@rbenencia.name/extension.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.local/share/gnome-shell') 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() { -- cgit v1.2.3