Don't set QT_SCREEN_SCALE_FACTORS on wayland
ClosedPublic

Authored by davidedmundson on Sep 12 2017, 8:46 AM.

Details

Summary

Scale factor is sent on the output, we don't need to have the hacky env
variables.

When the kscreen KCM is used on wayland it doesn't set the variable this
is using.

Test Plan

Configured an X session to have high DPI with this variable.
Logged into a wayland session, ran env.

(font DPI is still a problem, if it gets set on X
it's visually doubled on my wayland session. )

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Sep 12 2017, 8:46 AM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 12 2017, 8:46 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik accepted this revision.Sep 12 2017, 9:02 AM
This revision is now accepted and ready to land.Sep 12 2017, 9:02 AM
This revision was automatically updated to reflect the committed changes.