aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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