Otherwise X will fail to create the window and throw a BadMatch error
at least on NVidia.
clutter_x11_trap_x_errors ();
attrs.override_redirect = True;
+ attrs.colormap = XCreateColormap (xdisplay,
+ root_xwin,
+ xvisinfo->visual,
+ AllocNone);
+
backend_glx->dummy_xwin = XCreateWindow (xdisplay, root_xwin,
-100, -100, 1, 1,
0,
xvisinfo->depth,
CopyFromParent,
xvisinfo->visual,
- CWOverrideRedirect,
+ CWOverrideRedirect | CWColormap,
&attrs);
CLUTTER_NOTE (BACKEND, "Selecting dummy 0x%x for the GLX context",