summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2007-05-03 02:49:26 +0000
committerHanno Boeck <hanno@gentoo.org>2007-05-03 02:49:26 +0000
commitba4b4ae4444d0d88754dc5644ec55d2b45da0b48 (patch)
tree1c9adca0c9a02387d2d18e5bf41280f43454a33e /x11-wm/compiz/files
parentRemove mangled file so it can be re-added properly (diff)
downloadhistorical-ba4b4ae4444d0d88754dc5644ec55d2b45da0b48.tar.gz
historical-ba4b4ae4444d0d88754dc5644ec55d2b45da0b48.tar.bz2
historical-ba4b4ae4444d0d88754dc5644ec55d2b45da0b48.zip
compiz minor fixes
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'x11-wm/compiz/files')
-rwxr-xr-xx11-wm/compiz/files/compiz-start6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-wm/compiz/files/compiz-start b/x11-wm/compiz/files/compiz-start
index 8eaf0161a7f1..3edd7a9c2989 100755
--- a/x11-wm/compiz/files/compiz-start
+++ b/x11-wm/compiz/files/compiz-start
@@ -1,3 +1,5 @@
+#!/bin/sh
+
# compiz-start script
#
# hacky autodetection of neccessary options for XGL/AIGLX/NVIDIA
@@ -16,13 +18,13 @@ COMPIZ_OPTIONS="--replace --use-cow"
if [ $GLX_WITH_DIRECT -eq 3 ]; then
if [ $GLX_RENDER -eq 0 ]; then
echo NVIDIA detected
- export __GL_YIELD="NOTHING"
+ __GL_YIELT="NOTHING; export __GL_YIELD
else
echo XGL detected
fi
elif [ $GLX_WITH_INDIRECT -eq 3 ]; then
echo AIGLX detected
- export LIBGL_ALWAYS_INDIRECT=1
+ LIBGL_ALWAYS_INDIRECT=1; export LIBGL_ALWAYS_INDIRECT
COMPIZ_OPTIONS="$COMPIZ_OPTIONS --strict-binding"
fi