XVidMode only works on the screen at the origin
This commit is contained in:
parent
b73e16cc4a
commit
c123ff043b
1 changed files with 3 additions and 1 deletions
|
@ -567,7 +567,9 @@ X11_InitModes(_THIS)
|
|||
#if SDL_VIDEO_DRIVER_X11_XVIDMODE
|
||||
if (!displaydata->use_xrandr &&
|
||||
#if SDL_VIDEO_DRIVER_X11_XINERAMA
|
||||
(!displaydata->use_xinerama || displaydata->xinerama_info.screen_number == 0) &&
|
||||
/* XVidMode only works on the screen at the origin */
|
||||
(!displaydata->use_xinerama ||
|
||||
(displaydata->x == 0 && displaydata->y == 0)) &&
|
||||
#endif
|
||||
use_vidmode) {
|
||||
displaydata->use_vidmode = use_vidmode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue