diff options
author | Ken Moore <ken@ixsystems.com> | 2017-04-28 08:51:29 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-04-28 08:51:29 -0400 |
commit | 6c11dcb018ad7faf4588d8a17f0bc8911d99a7f8 (patch) | |
tree | 5d6d10f8e78386254d06339a4d6a1690a72400ce /src-qt5/core/lumina-desktop/main.cpp | |
parent | Enable lumina-mediaplayer in the default build of Lumina's "desktop-utils". (diff) | |
download | lumina-6c11dcb018ad7faf4588d8a17f0bc8911d99a7f8.tar.gz lumina-6c11dcb018ad7faf4588d8a17f0bc8911d99a7f8.tar.bz2 lumina-6c11dcb018ad7faf4588d8a17f0bc8911d99a7f8.zip |
Clean up the automatic DPI scaling support in Lumina.
This needs to be set for applications, but not the desktop itself (since there are so many pixel-specific calculations that need to be performed).
Diffstat (limited to 'src-qt5/core/lumina-desktop/main.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/main.cpp b/src-qt5/core/lumina-desktop/main.cpp index b42a3816..5eb58aa9 100644 --- a/src-qt5/core/lumina-desktop/main.cpp +++ b/src-qt5/core/lumina-desktop/main.cpp @@ -73,6 +73,7 @@ int main(int argc, char ** argv) setenv("DESKTOP_SESSION","Lumina",1); setenv("XDG_CURRENT_DESKTOP","Lumina",1); unsetenv("QT_QPA_PLATFORMTHEME"); //causes issues with Lumina themes - not many people have this by default... + unsetenv("QT_AUTO_SCREEN_SCALE_FACTOR"); //causes pixel-specific scaling issues with the desktop - turn this on after-the-fact for other apps //Startup the session LSession a(argc, argv); if(!a.isPrimaryProcess()){ return 0; } |