diff options
author | Ken Moore <ken@ixsystems.com> | 2017-08-05 08:23:05 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-08-05 08:23:05 -0400 |
commit | c55d13f9f07d6f9486343b1a3aac71cb62f58c36 (patch) | |
tree | f36ec3c74219a48808bf6fd1aa5d5daba19341d6 /src-qt5 | |
parent | Fix a typo in the pkg-plist for x11/lumina-core (diff) | |
download | lumina-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
Diffstat (limited to 'src-qt5')
-rw-r--r-- | src-qt5/core/lumina-session/main.cpp | 2 |
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; } |