diff --git a/Services/NiriService.qml b/Services/NiriService.qml index 944e3d4a..79d9a8b7 100644 --- a/Services/NiriService.qml +++ b/Services/NiriService.qml @@ -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) {