Skip to content
This repository was archived by the owner on Sep 18, 2023. It is now read-only.

Commit 8083d45

Browse files
Revert "Set GTK scaling env vars"
This reverts commit aba3d48. It causes issues for multiple GTK apps when fractional factors are used. Given GDK already has it's own auto scaling, this seems to cause more problems than it solves in its current form. BUG: 389523
1 parent 80ecf42 commit 8083d45

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

startkde/startkde.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ kcminputrc Mouse cursorTheme 'breeze_cursors'
4949
kcminputrc Mouse cursorSize ''
5050
ksplashrc KSplash Theme Breeze
5151
ksplashrc KSplash Engine KSplashQML
52-
kdeglobals KScreen ScaleFactor ''
5352
kdeglobals KScreen ScreenScaleFactors ''
5453
kcmfonts General forceFontDPI 0
5554
EOF
@@ -95,8 +94,6 @@ fi
9594

9695
if [ "$kdeglobals_kscreen_screenscalefactors" ]; then
9796
export QT_SCREEN_SCALE_FACTORS="$kdeglobals_kscreen_screenscalefactors"
98-
export GDK_SCALE=$kdeglobals_kscreen_scalefactor
99-
export GDK_DPI_SCALE=`echo "1 / $kdeglobals_kscreen_scalefactor" | bc -l`
10097
fi
10198
#Manually disable auto scaling because we are scaling above
10299
#otherwise apps that manually opt in for high DPI get auto scaled by the developer AND manually scaled by us

0 commit comments

Comments
 (0)