98ad61c5a0
- Drop autotool build requires. - Drop glfinish.patch, cow.patch, resize-offset.patch and icon-menu-patch. - Add libdecoration.so - Update to desktop-effects-0.7.0, which spawns the right decorator and plays nicely with unknown plugins.
24 lines
941 B
Diff
24 lines
941 B
Diff
--- compiz-0.3.6/src/screen.c~ 2006-12-29 14:24:40.000000000 -0500
|
|
+++ compiz-0.3.6/src/screen.c 2007-01-12 16:01:34.000000000 -0500
|
|
@@ -1384,7 +1384,7 @@
|
|
Window *children;
|
|
unsigned int nchildren;
|
|
int defaultDepth, nvisinfo, nElements, value, i;
|
|
- const char *glxExtensions, *glExtensions;
|
|
+ const char *glxExtensions, *glxServerExtensions, *glExtensions;
|
|
GLint stencilBits;
|
|
XSetWindowAttributes attrib;
|
|
GLfloat globalAmbient[] = { 0.1f, 0.1f, 0.1f, 0.1f };
|
|
@@ -1630,7 +1630,10 @@
|
|
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)
|
|
{
|