davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY Provides a virtual method in Screens where backends can supply the scale of each screen, this is then set on each output. For the X windowed backend this value is taken from a command line parameter. TEST PLAN Ran windowed mode with --scale 1 and 2 then kate --platform=wayland from another screen. On the latter case UI elements were scaled up correctly REPOSITORY rKWIN KWin BRANCH master REVISION DETAIL https://phabricator.kde.org/D3159 AFFECTED FILES main_wayland.cpp platform.cpp platform.h plugins/platforms/x11/windowed/x11windowed_backend.cpp plugins/platforms/x11/windowed/x11windowed_backend.h screens.cpp screens.h wayland_server.cpp EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: davidedmundson, #plasma Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas