<table><tr><td style="">davidedmundson created this revision.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.<br />davidedmundson requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12235">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Done primarily for XWayland which for legacy reasons doesn't assume the<br />
logical size of a display is pixelSize / outputScale. Meaning xwayland<br />
windows that position themselves are wrong in a scaled environment.</p>
<p>It also allows the possibility for us to support fractional scaling<br />
whilst keeping wl_output::scale as an integer.</p>
<p>The protocol is a bit odd as it operates via the FooManager + Foo<br />
pattern rather than using globals like Output so I've wrapped it so it<br />
behaves more like globals.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p><a href="https://phabricator.kde.org/tag/plasma/" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">#plasma</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 KWayland</div></div></div><br /><div><strong>BRANCH</strong><div><div>davidedmundson/xdgoutput</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12235">https://phabricator.kde.org/D12235</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/client/CMakeLists.txt<br />
autotests/client/test_xdg_output.cpp<br />
src/client/CMakeLists.txt<br />
src/client/protocols/xdg-output-unstable-v1.xml<br />
src/client/registry.cpp<br />
src/client/registry.h<br />
src/client/xdgoutput.cpp<br />
src/client/xdgoutput.h<br />
src/server/CMakeLists.txt<br />
src/server/display.cpp<br />
src/server/display.h<br />
src/server/xdgoutput_interface.cpp<br />
src/server/xdgoutput_interface.h<br />
src/tools/mapping.txt</div></div></div><br /><div><strong>To: </strong>davidedmundson<br /><strong>Cc: </strong>Frameworks, michaelh, ngraham, bruns<br /></div>