From 4ddd4a18cd9f852d4d23510faae31dd0e0380866 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 29 Sep 2025 15:24:18 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell/Services/NiriService.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'accounts/gkleen@sif/shell/quickshell/Services') diff --git a/accounts/gkleen@sif/shell/quickshell/Services/NiriService.qml b/accounts/gkleen@sif/shell/quickshell/Services/NiriService.qml index af522ec4..cce614eb 100644 --- a/accounts/gkleen@sif/shell/quickshell/Services/NiriService.qml +++ b/accounts/gkleen@sif/shell/quickshell/Services/NiriService.qml @@ -134,10 +134,10 @@ Singleton { relevant_output = ws.output; }); root.workspaces = Array.from(root.workspaces).map(ws => { - if (ws.output === relevant_output) { + if (data.focused) + ws.is_focused = false; + if (ws.output === relevant_output) ws.is_active = false; - ws.is_focused = false; - } if (data.id === ws.id) { ws.is_active = true; ws.is_focused = data.focused; -- cgit v1.2.3