From f61f9a5809285fa908246918b168a2c03f0d8454 Mon Sep 17 00:00:00 2001 From: Leopold Luley Date: Tue, 30 Sep 2025 09:01:58 +0200 Subject: [PATCH] NiriService: Keep windows sorted when moving them with the mouse. --- Services/NiriService.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {