NiriService: Keep windows sorted when moving them with the mouse.

This commit is contained in:
Leopold Luley
2025-09-30 09:01:58 +02:00
parent 518e90d910
commit f61f9a5809
+1 -1
View File
@@ -217,8 +217,8 @@ Item {
} else {
// Add new window
windows.push(newWindow)
windows.sort(compareWindows)
}
windows.sort(compareWindows)
// Update focused window index if this window is focused
if (newWindow.isFocused) {