src/video/x11/SDL_x11messagebox.c
changeset 9423 3df83030dab9
parent 9339 45c49e8c9416
child 9619 b94b6d0bff0f
--- a/src/video/x11/SDL_x11messagebox.c	Mon Mar 23 19:47:08 2015 -0400
+++ b/src/video/x11/SDL_x11messagebox.c	Mon Mar 23 19:54:33 2015 -0400
@@ -31,8 +31,8 @@
 #include <locale.h>
 
 
-#define SDL_FORK_MESSAGEBOX 0
-#define SDL_SET_LOCALE      0
+#define SDL_FORK_MESSAGEBOX 1
+#define SDL_SET_LOCALE      1
 
 #if SDL_FORK_MESSAGEBOX
 #include <sys/types.h>
@@ -718,9 +718,6 @@
     int fds[2];
     int status = 0;
 
-    /* Need to flush here in case someone has turned grab off and it hasn't gone through yet, etc. */
-    X11_XFlush(data->display);
-
     if (pipe(fds) == -1) {
         return X11_ShowMessageBoxImpl(messageboxdata, buttonid); /* oh well. */
     }