Small change to ActiveWindow

This commit is contained in:
Ly-sec 2025-08-23 15:41:19 +02:00
parent 374d3681ce
commit e04c4e1394
2 changed files with 8 additions and 13 deletions

View file

@ -27,7 +27,7 @@ Row {
}
}
// Update text when window changes or title changes
// Update text when window changes
Connections {
target: CompositorService
function onActiveWindowChanged() {
@ -38,15 +38,6 @@ Row {
fullTitleTimer.restart()
}
}
function onWindowTitleChanged() {
// Direct response to title changes
if (CompositorService.focusedWindowIndex === lastWindowIndex) {
// Same window, title changed - show full title briefly
showingFullTitle = true
fullTitleTimer.restart()
}
}
}
function getTitle() {