NiriService: Fix stale focus state when opening a new window.

This commit is contained in:
Leopold Luley
2025-09-29 22:16:46 +02:00
parent 26ee5046f6
commit 82bfa346a7
+1
View File
@@ -227,6 +227,7 @@ Item {
// Only emit activeWindowChanged if the focused window actually changed
if (oldFocusedIndex !== focusedWindowIndex) {
windows[oldFocusedIndex].isFocused = false
activeWindowChanged()
}
}