From de19c06ea34410ec3585273dceb3235e84a8dc43 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 27 Aug 2026 21:28:46 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accounts/gkleen@sif/shell') 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 { return NiriService.outputs?.[a.output]?.logical?.y - NiriService.outputs?.[b.output]?.logical?.y return a.idx - b.idx; }); - return JSON.parse(JSON.stringify(currWorkspaces)); + return currWorkspaces.map(o => Object.assign({}, o)); } } @@ -144,7 +144,7 @@ Row { return a.title.localeCompare(b.title); }); - return JSON.parse(JSON.stringify(currWindows)); + return currWindows.map(o => Object.assign({}, o)); } } -- cgit v1.2.3