summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2009-11-06 20:05:57 -0700
committerScott Moreau <oreaus@gmail.com>2009-11-06 20:05:57 -0700
commitc6c32e3e138b0d10ea1dfdb5257087df27aa33de (patch)
tree4e9bbcb30a09d8a44536f73c070b32eef62883f3
parent6275ca63f462c8b846282cce77d82624f5d12932 (diff)
downloadstartup-c6c32e3e138b0d10ea1dfdb5257087df27aa33de.tar.gz
startup-c6c32e3e138b0d10ea1dfdb5257087df27aa33de.tar.bz2
Don't use screen portion of DISPLAY
-rw-r--r--src/startup.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/startup.cpp b/src/startup.cpp
index 2884355..d38b2cc 100644
--- a/src/startup.cpp
+++ b/src/startup.cpp
@@ -231,6 +231,10 @@ StartupScreen::StartupScreen (CompScreen *screen) :
GET_ENV_VAR (home, HOME, error)
#undef GET_ENV_VAR
+ // We may be at risk of modifing the actual DISPLAY env var here
+ dsp[2] = 0;
+ // though tests have shown it doesn't
+
lockdir = "/.compiz/locks/startup/";
lockdir.insert (0,home);
}