From c590c2c6d9cc3254052c852e0edaecd6c1f1d3f5 Mon Sep 17 00:00:00 2001 From: David Keijser Date: Thu, 9 Oct 2025 16:45:53 +0200 Subject: [PATCH] Use workspace.num as index for sway Was incorrectly using the internal sway id of the workspace which is not the same as the user facing id Fixes #442 --- Services/SwayService.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/SwayService.qml b/Services/SwayService.qml index 01727855..ad54125c 100644 --- a/Services/SwayService.qml +++ b/Services/SwayService.qml @@ -71,7 +71,7 @@ Item { const wsData = { "id": i, - "idx": ws.id, + "idx": ws.num, "name": ws.name || "", "output": (ws.monitor && ws.monitor.name) ? ws.monitor.name : "", "isActive": ws.active === true,