davidedmundson created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: KWin, kwin, plasma-devel.
REVISION SUMMARY A surface has an API to know which screen(s) it's on, this is useful especially for knowing the scale it should render at. In practice Qt currently doesn't do anything with this information; but that's set to change. Test_helpers is changed as we need to create output objects in order for wl_surface to map them. Closes task https://phabricator.kde.org/T4467 TEST PLAN Attached unit test. As mentioned above, it doesn't have any real world impact currently, so not a lot to test. REPOSITORY R108 KWin BRANCH master REVISION DETAIL https://phabricator.kde.org/D7359 AFFECTED FILES autotests/integration/shell_client_test.cpp autotests/integration/test_helpers.cpp shell_client.cpp shell_client.h To: davidedmundson, #plasma Cc: plasma-devel, kwin, #kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas