Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
This hack doesn't work very well. I'd rather just show the problem so…
Browse files Browse the repository at this point in the history
… it can be fixed.
  • Loading branch information
slouken committed Oct 4, 2012
1 parent 95a8b73 commit ea7384a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/video/x11/SDL_x11modes.c
Expand Up @@ -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 */

Expand Down

0 comments on commit ea7384a

Please sign in to comment.