XdgTopLevelWindow: Update client output in initialize()

It was only updated when the client moved/resized or the outputs
themselves changed.
This commit is contained in:
Kai Uwe Broulik 2023-08-02 14:05:20 +02:00
parent 19b8948b51
commit 207cb3de6f
2 changed files with 2 additions and 1 deletions

View file

@ -38,6 +38,7 @@ protected:
bool belongsToDesktop() const override;
void doSetActive() override;
void updateCaption() override;
void updateClientOutputs();
std::unique_ptr<WindowItem> createItem(Scene *scene) override;
void cleanGrouping();
@ -45,7 +46,6 @@ protected:
void markAsMapped();
private:
void updateClientOutputs();
void updateIcon();
void updateResourceName();

View file

@ -1216,6 +1216,7 @@ void XdgToplevelWindow::initialize()
scheduleConfigure();
updateColorScheme();
updateCapabilities();
updateClientOutputs();
setupWindowManagementInterface();
m_isInitialized = true;