Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37863236
en ru br
ALT Linux repos
S:0.9.14.2-alt1
5.0: 0.8.2-alt6
4.1: 0.7.4-alt1.M41.1
4.0: 0.5.0-alt1

Other repositories
Upstream:0.7.2

Group :: System/X11
RPM: compiz

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: compiz-0.5.0-rh-tfp-server-extension.patch
Download


--- compiz-0.5.0/src/screen.c.tfp-server-extension	2007-04-02 22:15:30 +0400
+++ compiz-0.5.0/src/screen.c	2007-04-09 21:14:59 +0400
@@ -1533,7 +1533,7 @@ addScreen (CompDisplay *display,
     Window		 *children;
     unsigned int	 nchildren;
     int			 defaultDepth, nvisinfo, nElements, value, i;
-    const char		 *glxExtensions, *glExtensions;
+    const char		 *glxExtensions, *glxServerExtensions, *glExtensions;
     XSetWindowAttributes attrib;
     GLfloat		 globalAmbient[]  = { 0.1f, 0.1f,  0.1f, 0.1f };
     GLfloat		 ambientLight[]   = { 0.0f, 0.0f,  0.0f, 0.0f };
@@ -1794,7 +1794,10 @@ addScreen (CompDisplay *display,
 	    i++;
 
 	glxExtensions = glXQueryExtensionsString (dpy, screenNum);
-	if (!strstr (glxExtensions, "GLX_EXT_texture_from_pixmap"))
+	glxServerExtensions = glXQueryServerString(s->display->display,
+						   screenNum, GLX_EXTENSIONS);
+	if (!strstr (glxExtensions, "GLX_EXT_texture_from_pixmap") &&
+	    !strstr (glxServerExtensions, "GLX_EXT_texture_from_pixmap"))
 	{
 	    if (i > 0)
 	    {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin