summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell/Services
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/Services')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/Services/NiriService.qml6
1 files changed, 3 insertions, 3 deletions
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 {
134 relevant_output = ws.output; 134 relevant_output = ws.output;
135 }); 135 });
136 root.workspaces = Array.from(root.workspaces).map(ws => { 136 root.workspaces = Array.from(root.workspaces).map(ws => {
137 if (ws.output === relevant_output) { 137 if (data.focused)
138 ws.is_focused = false;
139 if (ws.output === relevant_output)
138 ws.is_active = false; 140 ws.is_active = false;
139 ws.is_focused = false;
140 }
141 if (data.id === ws.id) { 141 if (data.id === ws.id) {
142 ws.is_active = true; 142 ws.is_active = true;
143 ws.is_focused = data.focused; 143 ws.is_focused = data.focused;