From e58466c00c047d1b49580497d0f3170c4138ce1d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 3 Oct 2012 19:39:12 -0700 Subject: [PATCH] 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 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/video/x11/SDL_x11modes.c b/src/video/x11/SDL_x11modes.c index e146c4a44..49c3451fc 100644 --- a/src/video/x11/SDL_x11modes.c +++ b/src/video/x11/SDL_x11modes.c @@ -740,10 +740,6 @@ X11_SetDisplayMode(_THIS, SDL_VideoDisplay * sdl_display, SDL_DisplayMode * mode 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 */