Update dock on window list change

When the dock only shows windows from the same display, when the display is reconnected (dpms off/on), open windows disappear from the dock until an event occurs that refreshes the dock.
This commit is contained in:
kermeat
2026-04-01 23:56:40 +03:00
committed by GitHub
parent 7b29c11d7a
commit d9faff679c
+8
View File
@@ -33,6 +33,14 @@ Loader {
}
}
// Update dock apps when window list change
Connections {
target: CompositorService
function onWindowListChanged() {
updateDockApps();
}
}
// Update dock apps when toplevels change
Connections {
target: ToplevelManager ? ToplevelManager.toplevels : null