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:
parent
19b8948b51
commit
207cb3de6f
2 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -1216,6 +1216,7 @@ void XdgToplevelWindow::initialize()
|
|||
scheduleConfigure();
|
||||
updateColorScheme();
|
||||
updateCapabilities();
|
||||
updateClientOutputs();
|
||||
setupWindowManagementInterface();
|
||||
|
||||
m_isInitialized = true;
|
||||
|
|
Loading…
Reference in a new issue