We don't need the hack any more; CoglRenderer has the appropriate API for the Xlib-based winsys backends.