xsession: make QT HiDPI work with fractional settings

Passthrough is the default rouding policy in Qt 6 but not Qt 5.
This commit is contained in:
Vincent Bernat 2022-09-11 08:26:24 +02:00
parent 402c8711eb
commit 25f645325c

View file

@ -10,8 +10,10 @@ export GTK2_RC_FILES=$HOME/.gtkrc-2.0
# We do not want to rely on crappy mailcap
export MAILCAPS=$HOME/.mailcap
# QT theme
# Qt HiDPI (https://doc.qt.io/qt-6/highdpi.html)
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_SCALE_FACTOR_ROUNDING_POLICY=PassThrough
# Qt theme
export QT_QPA_PLATFORMTHEME=qt5ct
# GTK3 apps try to contact org.a11y.Bus. Disable that.