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