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 6553 2f03111a2105
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
--- a/src/video/x11/SDL_x11modes.c	Wed Oct 03 19:26:07 2012 -0700
+++ b/src/video/x11/SDL_x11modes.c	Wed Oct 03 19:39:12 2012 -0700
@@ -740,10 +740,6 @@
             SDL_SetError("XRRSetCrtcConfig failed");
             return -1;
         }
-
-        /* Hack to let the window manager adjust to the mode change */
-        const int WINDOW_MANAGER_DELAY_HACK = 250;
-        SDL_Delay(WINDOW_MANAGER_DELAY_HACK);
     }
 #endif /* SDL_VIDEO_DRIVER_X11_XRANDR */