Merge pull request #396 from luleyleo/mouse-sorted-taskbar

NiriService: Keep windows sorted when moving them with the mouse
This commit is contained in:
Lemmy
2025-09-30 07:51:37 -04:00
committed by GitHub
+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) {