This hack doesn't work very well. I'd rather just show the problem so it can be fixed.
This commit is contained in:
parent
7fe05a9ddf
commit
e58466c00c
1 changed files with 0 additions and 4 deletions
|
@ -740,10 +740,6 @@ X11_SetDisplayMode(_THIS, SDL_VideoDisplay * sdl_display, SDL_DisplayMode * mode
|
||||||
SDL_SetError("XRRSetCrtcConfig failed");
|
SDL_SetError("XRRSetCrtcConfig failed");
|
||||||
return -1;
|
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 */
|
#endif /* SDL_VIDEO_DRIVER_X11_XRANDR */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue