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/a2 |ma/kde-gtk-config/commit/22
                   |e0cb9f8c95bcb5a9510c519e346 |01885bed9d04c288b74a7fd894f
                   |73c56182be0                 |6cb5c68b0ae

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

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


(cherry picked from commit a2e0cb9f8c95bcb5a9510c519e34673c56182be0)

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/2201885bed9d04c288b74a7fd894f6cb5c68b0ae

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

Reply via email to