mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-02 02:26:00 +00:00
NiriService: Fix stale focus state when opening a new window.
This commit is contained in:
@@ -227,6 +227,7 @@ Item {
|
||||
|
||||
// Only emit activeWindowChanged if the focused window actually changed
|
||||
if (oldFocusedIndex !== focusedWindowIndex) {
|
||||
windows[oldFocusedIndex].isFocused = false
|
||||
activeWindowChanged()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user