Fix suggested by Bob
authorSam Lantinga <slouken@libsdl.org>
Thu, 20 Aug 2009 04:40:02 +0000
changeset 3239 ab5aebd50add
parent 3238 96492d29034a
child 3240 6c4736b446e8
Fix suggested by Bob
src/video/x11/SDL_x11render.c
--- a/src/video/x11/SDL_x11render.c	Tue Aug 18 03:26:53 2009 +0000
+++ b/src/video/x11/SDL_x11render.c	Thu Aug 20 04:40:02 2009 +0000
@@ -359,7 +359,7 @@
                     shm_error = False;
                     X_handler = XSetErrorHandler(shm_errhandler);
                     XShmAttach(renderdata->display, shminfo);
-                    XSync(renderdata->display, True);
+                    XSync(renderdata->display, False);
                     XSetErrorHandler(X_handler);
                     if (shm_error) {
                         shmdt(shminfo->shmaddr);