fix compiz-gtk script, RH #490383

This commit is contained in:
drago01 2009-03-16 14:05:01 +00:00
parent 81a2790a49
commit 0b9ccfb026
2 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,7 @@ HAVE3D=`glxinfo | grep "direct rendering: " | head -n 1 | cut -d " " -f 3`
#HAVETFP=`glxinfo | grep texture_from_pixmap -c`
#if ( [ $HAVE3D == "Yes" ] && [ $HAVETFP -gt 2 ] ); then
# runCompiz
# runCompiz $@
#fi
# Try again with indirect rendering
@ -20,7 +20,7 @@ export LIBGL_ALWAYS_INDIRECT=1
HAVETFP=`glxinfo | grep texture_from_pixmap -c`
if ( [ $HAVE3D == "Yes" ] && [ $HAVETFP -gt 2 ] ); then
runCompiz
runCompiz $@
fi
# Fall back to metacity

View File

@ -14,7 +14,7 @@ URL: http://www.go-compiz.org
License: GPLv2+ and LGPLv2+ and MIT
Group: User Interface/Desktops
Version: 0.7.8
Release: 16%{?dist}
Release: 17%{?dist}
Summary: OpenGL window and compositing manager
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -388,6 +388,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Mar 16 2009 Adel Gadllah <adel.gadllah@gmail.com> - 0.7.8-17
- Fix compiz-gtk script RH #490383
* Sun Mar 15 2009 Adel Gadllah <adel.gadllah@gmail.com> - 0.7.8-16
- Revert to always using indirect rendering