From d9faff679cfed580b129206c5a1c8a595e06ffea Mon Sep 17 00:00:00 2001 From: kermeat Date: Wed, 1 Apr 2026 23:56:40 +0300 Subject: [PATCH] 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. --- Modules/Dock/Dock.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Modules/Dock/Dock.qml b/Modules/Dock/Dock.qml index 508fa1870..73dec8da1 100644 --- a/Modules/Dock/Dock.qml +++ b/Modules/Dock/Dock.qml @@ -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