CompositorService: use idx for niri workspaces

This commit is contained in:
Ly-sec 2025-09-11 14:31:36 +02:00
parent baafe54d13
commit a029463527
3 changed files with 4 additions and 4 deletions

View file

@ -281,7 +281,7 @@ Singleton {
if (a.output !== b.output) {
return a.output.localeCompare(b.output)
}
return a.id - b.id
return a.idx - b.idx
})
// Update the workspaces ListModel