aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-08-05 08:23:05 -0400
committerKen Moore <ken@ixsystems.com>2017-08-05 08:23:05 -0400
commitc55d13f9f07d6f9486343b1a3aac71cb62f58c36 (patch)
treef36ec3c74219a48808bf6fd1aa5d5daba19341d6
parentFix a typo in the pkg-plist for x11/lumina-core (diff)
downloadlumina-c55d13f9f07d6f9486343b1a3aac71cb62f58c36.tar.gz
lumina-c55d13f9f07d6f9486343b1a3aac71cb62f58c36.tar.bz2
lumina-c55d13f9f07d6f9486343b1a3aac71cb62f58c36.zip
Make sure the "start-lumina-desktop" routine will detect/adjust the X11 Display on demand
-rw-r--r--src-qt5/core/lumina-session/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-session/main.cpp b/src-qt5/core/lumina-session/main.cpp
index f26641c8..71244a8b 100644
--- a/src-qt5/core/lumina-session/main.cpp
+++ b/src-qt5/core/lumina-session/main.cpp
@@ -23,7 +23,7 @@
#define DEBUG 0
int findAvailableSession(){
int num = 0;
- while(!QFile::exists("/tmp/.X11-unix/X"+QString::number(num))){ num++; }
+ while(QFile::exists("/tmp/.X11-unix/X"+QString::number(num))){ num++; }
return num;
}
bgstack15