1
Index: compiz-0.9.7.0~bzr2995/plugins/opengl/src/screen.cpp
2
===================================================================
3
--- compiz-0.9.7.0~bzr2995.orig/plugins/opengl/src/screen.cpp 2012-02-09 16:32:07.000000000 +0100
4
+++ compiz-0.9.7.0~bzr2995/plugins/opengl/src/screen.cpp 2012-02-10 17:09:17.029015287 +0100
6
* David Reveman <davidr@novell.com>
19
CompOutput *targetOutput = NULL;
21
+class DetectionWorkaround
25
+ DetectionWorkaround ()
27
+ program_invocation_short_name[0] = 'C';
29
+ ~DetectionWorkaround ()
31
+ program_invocation_short_name[0] = 'c';
36
GLScreen::glInitContext (XVisualInfo *visinfo)
38
+ DetectionWorkaround workaround;
39
Display *dpy = screen->dpy ();
40
const char *glExtensions;
41
GLfloat globalAmbient[] = { 0.1f, 0.1f, 0.1f, 0.1f };
43
int defaultDepth, nvisinfo, nElements, value, i;
44
const char *glxExtensions;
45
XWindowAttributes attr;
46
+ DetectionWorkaround workaround;
47
CompOption::Vector o (0);
49
if (!XGetWindowAttributes (dpy, s->root (), &attr))