Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-11-15 11:28:18 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-11-15 11:28:18 +0400
commita3bbae989265fea3bf64815f73b454145897f138 (patch)
treedf5f7c65a0ed44a00918fcd29db6cc9969c1f16d /release/bin
parentd6c1009195df15f6eb920f36610c0d679bce415e (diff)
Workaround for half-transparent windows when running blender-softwaregl
and compiz effects are enabled. Thanks to Nicholas Bishop for pointing in possible solution of this issue.
Diffstat (limited to 'release/bin')
-rwxr-xr-xrelease/bin/blender-softwaregl5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/bin/blender-softwaregl b/release/bin/blender-softwaregl
index 3cd96d2ff34..970a7870760 100755
--- a/release/bin/blender-softwaregl
+++ b/release/bin/blender-softwaregl
@@ -15,7 +15,10 @@ if [ -n "$LD_LIBRARY_PATH_64" ]; then
LD_LIBRARY_PATH_64=${BF_DIST_BIN}/lib:${LD_LIBRARY_PATH_64}
fi
-export LD_LIBRARY_PATH LD_LIBRARYN32_PATH LD_LIBRARYN64_PATH LD_LIBRARY_PATH_64 LD_PRELOAD
+# Workaround for half-transparent windows when compiz is enabled
+XLIB_SKIP_ARGB_VISUALS=1
+
+export LD_LIBRARY_PATH LD_LIBRARYN32_PATH LD_LIBRARYN64_PATH LD_LIBRARY_PATH_64 LD_PRELOAD XLIB_SKIP_ARGB_VISUALS
"$BF_DIST_BIN/$BF_PROGRAM" ${1+"$@"}
exitcode=$?