[startplamsa-x11] Fix GTK scaling

Authored by broulik on Jul 3 2019, 2:57 PM.

Description

[startplamsa-x11] Fix GTK scaling

ScreenScaleFactors is a list of scales per output. We want to read the ScaleFactor number for GTK instead.
Also, floor the number so that when you use e.g. 2.5x scaling you still get some scaling out of GTK apps still.

Differential Revision: https://phabricator.kde.org/D22236

Details

Committed
broulikJul 3 2019, 2:57 PM
Differential Revision
D22236: [startplamsa-x11] Fix GTK scaling
Parents
R120:cd3e9a291a66: Rewrite kworkspace logout, shutdown and suspend API
Branches
Unknown
Tags
Unknown