From 207cb3de6f0bb63d839d7d0bc91532827ba65be0 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Wed, 2 Aug 2023 14:05:20 +0200 Subject: [PATCH] XdgTopLevelWindow: Update client output in initialize() It was only updated when the client moved/resized or the outputs themselves changed. --- src/waylandwindow.h | 2 +- src/xdgshellwindow.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/waylandwindow.h b/src/waylandwindow.h index 2ed8951379..67888cbb82 100644 --- a/src/waylandwindow.h +++ b/src/waylandwindow.h @@ -38,6 +38,7 @@ protected: bool belongsToDesktop() const override; void doSetActive() override; void updateCaption() override; + void updateClientOutputs(); std::unique_ptr createItem(Scene *scene) override; void cleanGrouping(); @@ -45,7 +46,6 @@ protected: void markAsMapped(); private: - void updateClientOutputs(); void updateIcon(); void updateResourceName(); diff --git a/src/xdgshellwindow.cpp b/src/xdgshellwindow.cpp index 62eaec6e3e..18f56c1f39 100644 --- a/src/xdgshellwindow.cpp +++ b/src/xdgshellwindow.cpp @@ -1216,6 +1216,7 @@ void XdgToplevelWindow::initialize() scheduleConfigure(); updateColorScheme(); updateCapabilities(); + updateClientOutputs(); setupWindowManagementInterface(); m_isInitialized = true;