summaryrefslogtreecommitdiff
path: root/accounts
diff options
context:
space:
mode:
Diffstat (limited to 'accounts')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml b/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml
index 1ed1458c..a893937a 100644
--- a/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml
+++ b/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml
@@ -28,7 +28,7 @@ Row {
28 return NiriService.outputs?.[a.output]?.logical?.y - NiriService.outputs?.[b.output]?.logical?.y 28 return NiriService.outputs?.[a.output]?.logical?.y - NiriService.outputs?.[b.output]?.logical?.y
29 return a.idx - b.idx; 29 return a.idx - b.idx;
30 }); 30 });
31 return JSON.parse(JSON.stringify(currWorkspaces)); 31 return currWorkspaces.map(o => Object.assign({}, o));
32 } 32 }
33 } 33 }
34 34
@@ -144,7 +144,7 @@ Row {
144 144
145 return a.title.localeCompare(b.title); 145 return a.title.localeCompare(b.title);
146 }); 146 });
147 return JSON.parse(JSON.stringify(currWindows)); 147 return currWindows.map(o => Object.assign({}, o));
148 } 148 }
149 } 149 }
150 150