mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
fix(active-window): not updating when window title change on Sway/Scroll
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user