diff --git a/compiz-gtk b/compiz-gtk index 375892d..cdb57cb 100644 --- a/compiz-gtk +++ b/compiz-gtk @@ -5,13 +5,12 @@ function runCompiz() { exec compiz --ignore-desktop-hints --always-swap glib gconf gnomecompat $@ } -DIRECT=`glxinfo | grep "direct rendering: " | head -n 1 | cut -d " " -f 3` ISSW=`glxinfo | grep "Software Rasterizer" -c` # Try with direct rendering HAVETFP=`glxinfo | grep texture_from_pixmap -c` -if ( [ $HAVE3D == "Yes" ] && [ $ISSW == 0 ] && [ $HAVETFP -gt 2 ] ); then +if ( [ $ISSW == 0 ] && [ $HAVETFP -gt 2 ] ); then runCompiz $@ fi @@ -20,7 +19,7 @@ export LIBGL_ALWAYS_INDIRECT=1 HAVETFP=`glxinfo | grep texture_from_pixmap -c` -if ( [ $DIRECT == "Yes" ] && [ $ISSW == 0 ] && [ $HAVETFP -gt 2 ] ); then +if ( [ $ISSW == 0 ] && [ $HAVETFP -gt 2 ] ); then runCompiz $@ fi diff --git a/compiz.spec b/compiz.spec index 8e21509..5d64ccb 100644 --- a/compiz.spec +++ b/compiz.spec @@ -14,7 +14,7 @@ URL: http://www.go-compiz.org License: GPLv2+ and LGPLv2+ and MIT Group: User Interface/Desktops Version: 0.8.2 -Release: 10%{?dist} +Release: 11%{?dist} Summary: OpenGL window and compositing manager BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -364,6 +364,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Aug 22 2009 Adel Gadllah - 0.8.2-11 +- Fix up the compiz-gtk script + * Fri Aug 07 2009 Adel Gadllah - 0.8.2-10 - Enable direct rendering and always-swap by default - Tearing free compiz for INTEL cards ;)