https://bugs.kde.org/show_bug.cgi?id=465733

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kde-gtk-config/commit/76 |ma/kde-gtk-config/commit/a2
                   |1cf85843a250da09390d23325f0 |e0cb9f8c95bcb5a9510c519e346
                   |bd33dadad6b                 |73c56182be0

--- Comment #32 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit a2e0cb9f8c95bcb5a9510c519e34673c56182be0 by Fushan Wen, on behalf of
Luca Bacci.
Committed on 21/02/2023 at 05:03.
Pushed by fusionfuture into branch 'master'.

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
FIXED-IN: 5.27.1

M  +1    -9    kded/config_editor/xsettings.cpp
M  +0    -1    kded/config_editor/xsettings.h
M  +13   -18   kded/configvalueprovider.cpp
M  +8    -4    kded/configvalueprovider.h
M  +21   -29   kded/gtkconfig.cpp

https://invent.kde.org/plasma/kde-gtk-config/commit/a2e0cb9f8c95bcb5a9510c519e34673c56182be0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to