mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user