mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-03 10:56:16 +00:00
Merge pull request #396 from luleyleo/mouse-sorted-taskbar
NiriService: Keep windows sorted when moving them with the mouse
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user