aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/main.cpp
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-07-27 16:21:31 +0000
committerWeblate <noreply@weblate.org>2017-07-27 16:21:31 +0000
commita528ad301649fe76cab31a4ef2851973aefbe587 (patch)
tree9ac8a6cf1191c387d8c61dde4eb34b07884815e8 /src-qt5/core/lumina-desktop-unified/main.cpp
parentTranslated using Weblate (Lithuanian) (diff)
parentMerge remote-tracking branch 'origin/master' (diff)
downloadlumina-a528ad301649fe76cab31a4ef2851973aefbe587.tar.gz
lumina-a528ad301649fe76cab31a4ef2851973aefbe587.tar.bz2
lumina-a528ad301649fe76cab31a4ef2851973aefbe587.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/main.cpp')
-rw-r--r--src-qt5/core/lumina-desktop-unified/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/main.cpp b/src-qt5/core/lumina-desktop-unified/main.cpp
index 0b67de46..8e40f7eb 100644
--- a/src-qt5/core/lumina-desktop-unified/main.cpp
+++ b/src-qt5/core/lumina-desktop-unified/main.cpp
@@ -30,6 +30,8 @@ int main(int argc, char ** argv)
setenv("XDG_CURRENT_DESKTOP","Lumina",1);
setenv("QT_NO_GLIB", "1", 1); //Disable the glib event loop within Qt at runtime (performance hit + bugs)
unsetenv("QT_QPA_PLATFORMTHEME"); //causes issues with Lumina themes - not many people have this by default...
+ unsetenv("QT_AUTO_SCREEN_SCALE_FACTOR"); //need exact-pixel measurements (no fake scaling)
+
//Startup the session
if(DEBUG){ qDebug() << "Starting unified session"; }
LSession a(argc, argv);
bgstack15