Skip to content
Commit a2e0cb9f authored by Luca Bacci's avatar Luca Bacci Committed by Fushan Wen
Browse files

Add support for XWayland client scaling

This is very important e.g for Chromium or Electron apps.

This MR does the following:

* Renames the `ConfigValueProvider::globalScaleFactor()` method to `x11GlobalScaleFactor()`
* Removes the `ConfigValueProvider::globalScaleFactorAsPercent()`, `ConfigValueProvider::globalScaleFactorFloor()` methods as those are now useless
* The global scale factor for XWayland apps is read from `kwinrc` under the `Xwayland` group.
* Read the base `Xft.dpi` resource value from the `kdeglobals` config file

BUG: 465733
FIXED-IN: 5.27.1
parent eab5694a
Pipeline #335934 passed with stage
in 47 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment