This hack doesn't work very well. I'd rather just show the problem so it can be fixed.
authorSam Lantinga <slouken@libsdl.org>
Wed, 03 Oct 2012 19:39:12 -0700
changeset 65532f03111a2105
parent 6552 caa7decef32b
child 6554 5bcda034e678
This hack doesn't work very well. I'd rather just show the problem so it can be fixed.
src/video/x11/SDL_x11modes.c
     1.1 --- a/src/video/x11/SDL_x11modes.c	Wed Oct 03 19:26:07 2012 -0700
     1.2 +++ b/src/video/x11/SDL_x11modes.c	Wed Oct 03 19:39:12 2012 -0700
     1.3 @@ -740,10 +740,6 @@
     1.4              SDL_SetError("XRRSetCrtcConfig failed");
     1.5              return -1;
     1.6          }
     1.7 -
     1.8 -        /* Hack to let the window manager adjust to the mode change */
     1.9 -        const int WINDOW_MANAGER_DELAY_HACK = 250;
    1.10 -        SDL_Delay(WINDOW_MANAGER_DELAY_HACK);
    1.11      }
    1.12  #endif /* SDL_VIDEO_DRIVER_X11_XRANDR */
    1.13