Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

This hack doesn't work very well. I'd rather just show the problem so…

… it can be fixed.
  • Loading branch information
slouken committed Oct 4, 2012
1 parent 95a8b73 commit ea7384aa9d142017bf159c9628faf774ed367ea6
Showing with 0 additions and 4 deletions.
  1. +0 −4 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 */

0 comments on commit ea7384a

Please sign in to comment.