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;
|
bool belongsToDesktop() const override;
|
||||||
void doSetActive() override;
|
void doSetActive() override;
|
||||||
void updateCaption() override;
|
void updateCaption() override;
|
||||||
|
void updateClientOutputs();
|
||||||
std::unique_ptr<WindowItem> createItem(Scene *scene) override;
|
std::unique_ptr<WindowItem> createItem(Scene *scene) override;
|
||||||
|
|
||||||
void cleanGrouping();
|
void cleanGrouping();
|
||||||
|
@ -45,7 +46,6 @@ protected:
|
||||||
void markAsMapped();
|
void markAsMapped();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void updateClientOutputs();
|
|
||||||
void updateIcon();
|
void updateIcon();
|
||||||
void updateResourceName();
|
void updateResourceName();
|
||||||
|
|
||||||
|
|
|
@ -1216,6 +1216,7 @@ void XdgToplevelWindow::initialize()
|
||||||
scheduleConfigure();
|
scheduleConfigure();
|
||||||
updateColorScheme();
|
updateColorScheme();
|
||||||
updateCapabilities();
|
updateCapabilities();
|
||||||
|
updateClientOutputs();
|
||||||
setupWindowManagementInterface();
|
setupWindowManagementInterface();
|
||||||
|
|
||||||
m_isInitialized = true;
|
m_isInitialized = true;
|
||||||
|
|
Loading…
Reference in a new issue