From 1421bffb180e2e1a8f0c16f61768805666492ed2 Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Mon, 29 Oct 2007 14:37:32 -0400 Subject: [PATCH] Remember to call XSync() before resetting X error handler. --- src/glx/x11/glxcmds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glx/x11/glxcmds.c b/src/glx/x11/glxcmds.c index 707e398d1d6..1497c6b30eb 100644 --- a/src/glx/x11/glxcmds.c +++ b/src/glx/x11/glxcmds.c @@ -106,6 +106,7 @@ static void GarbageCollectDRIDrawables(Display *dpy, __GLXscreenConfigs *sc) } while (__glxHashNext(sc->drawHash, &draw, (void *)&pdraw) == 1); } + XSync(dpy, GL_FALSE); XSetErrorHandler(oldXErrorHandler); } -- 2.30.2