Merge pull request #1878 from yuzujr/fix/sway-active-window-update

fix(active-window): not updating when window title change on Sway/Scroll
This commit is contained in:
Lysec
2026-02-18 19:41:04 +01:00
committed by GitHub
+11
View File
@@ -496,6 +496,17 @@ Item {
}
}
// browser tab switches change the title without changing focus.
// This backend mostly refreshes on focus/raw IPC events, so title-only updates
// can be missed on Sway/Scroll unless we listen to titleChanged directly.
Connections {
target: ToplevelManager ? ToplevelManager.activeToplevel : null
enabled: initialized
function onTitleChanged() {
updateTimer.restart();
}
}
Connections {
target: I3
enabled: initialized