diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-29 15:24:18 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-29 15:24:18 +0200 |
| commit | 4ddd4a18cd9f852d4d23510faae31dd0e0380866 (patch) | |
| tree | db27025055014163a2da0d7e677bde2967169d6d /accounts/gkleen@sif/shell/quickshell/Services/NiriService.qml | |
| parent | 5cee7108d60ca11ccba1b19ccad74664f6f96cf5 (diff) | |
| download | nixos-4ddd4a18cd9f852d4d23510faae31dd0e0380866.tar nixos-4ddd4a18cd9f852d4d23510faae31dd0e0380866.tar.gz nixos-4ddd4a18cd9f852d4d23510faae31dd0e0380866.tar.bz2 nixos-4ddd4a18cd9f852d4d23510faae31dd0e0380866.tar.xz nixos-4ddd4a18cd9f852d4d23510faae31dd0e0380866.zip | |
...
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/Services/NiriService.qml')
| -rw-r--r-- | accounts/gkleen@sif/shell/quickshell/Services/NiriService.qml | 6 |
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; |
