if(screen->root_glx_pixmap)
{
glXDestroyPixmap(compositor->display, screen->root_glx_pixmap);
if(screen->root_glx_pixmap)
{
glXDestroyPixmap(compositor->display, screen->root_glx_pixmap);
}
XGetWindowProperty(compositor->display, screen->root, compositor->root_pmap_atom, 0, 1, False, XA_PIXMAP,
&prop_type, &prop_format, &length, &overflow, (unsigned char **)&pixmap);
if(prop_type!=XA_PIXMAP || prop_format!=32)
{
}
XGetWindowProperty(compositor->display, screen->root, compositor->root_pmap_atom, 0, 1, False, XA_PIXMAP,
&prop_type, &prop_format, &length, &overflow, (unsigned char **)&pixmap);
if(prop_type!=XA_PIXMAP || prop_format!=32)
{
update_geometry_correction(compositor, screen);
update_root_pixmap(compositor, screen);
update_geometry_correction(compositor, screen);
update_root_pixmap(compositor, screen);
- glXMakeContextCurrent(compositor->display, 0, 0, NULL);
+ glXMakeContextCurrent(compositor->display, None, None, NULL);
glXDestroyContext(compositor->display, screen->glx_context);
glXDestroyWindow(compositor->display, screen->glx_window);
XDestroyWindow(compositor->display, screen->render_window);
glXDestroyContext(compositor->display, screen->glx_context);
glXDestroyWindow(compositor->display, screen->glx_window);
XDestroyWindow(compositor->display, screen->render_window);