Initialise XdgOutput properties on creation

Authored by davidedmundson on Apr 24 2019, 11:31 PM.



initWaylandOutput can be called before or after all properites are set.
If it's called after, we need to still have xdgOuput set correctly.

Test Plan

Simplified Aleix's patch that avoids a no-op setScale call
Now it works.

Diff Detail

R108 KWin
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a project: KWin. · View Herald TranscriptApr 24 2019, 11:31 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
davidedmundson requested review of this revision.Apr 24 2019, 11:31 PM
apol accepted this revision.Apr 24 2019, 11:43 PM
This revision is now accepted and ready to land.Apr 24 2019, 11:43 PM
This revision was automatically updated to reflect the committed changes.