summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2016-08-13 16:54:35 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2016-08-13 16:54:35 +0200
commit85f77c00c97ee5f658f4acd77987a3224036fbfd (patch)
tree7d229bb8cc2d7fb7e9d71fd76c3712ccc24f1618
parent2d2d31444b148fec30a0225764e8e11ccb0587f3 (diff)
parent4525e14fcfeaaf526227e3addec67d0ce4632270 (diff)
Merge remote-tracking branch 'origin/master' into obsd
-rw-r--r--startx.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/startx.cpp b/startx.cpp
index 7c567ac..3ab9a26 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -80,6 +80,10 @@ if ! defaults read $X11_PREFS_DOMAIN nolisten_tcp > /dev/null 2>&1 ; then
defaults write $X11_PREFS_DOMAIN nolisten_tcp -bool true
fi
+if ! defaults read $X11_PREFS_DOMAIN enable_iglx > /dev/null 2>&1 ; then
+ defaults write $X11_PREFS_DOMAIN enable_iglx -bool false
+fi
+
XCOMM First, start caching fonts
if [ x`defaults read $X11_PREFS_DOMAIN cache_fonts` = x1 ] ; then
if [ -x $bindir/font_cache ] ; then
@@ -105,6 +109,14 @@ fi
if [ x`defaults read $X11_PREFS_DOMAIN nolisten_tcp` = x1 ] ; then
defaultserverargs="$defaultserverargs -nolisten tcp"
+else
+ defaultserverargs="$defaultserverargs -listen tcp"
+fi
+
+if [ x`defaults read $X11_PREFS_DOMAIN enable_iglx` = x1 ] ; then
+ defaultserverargs="$defaultserverargs +iglx"
+else
+ defaultserverargs="$defaultserverargs -iglx"
fi
XCOMM The second check is the real one. The first is to hopefully avoid