Skip to content
Permalink
Browse files

Added SDL_VIDEO_FULLSCREEN_DISPLAY as a preferred synonym for SDL_VID…

…EO_FULLSCREEN_HEAD on X11.
  • Loading branch information
slouken committed Oct 10, 2009
1 parent c84fb6f commit 2d91b7ab3773bb8aa31b7673a7daaa02b12a3a38

File 3 of 3 in 2d91b7a

@@ -548,7 +548,10 @@ int X11_GetVideoModes(_THIS)
int w, h;
SDL_NAME(XineramaScreenInfo) *xinerama;

const char *variable = SDL_getenv("SDL_VIDEO_FULLSCREEN_HEAD");
const char *variable = SDL_getenv("SDL_VIDEO_FULLSCREEN_DISPLAY");
if ( !variable ) {
variable = SDL_getenv("SDL_VIDEO_FULLSCREEN_HEAD");
}
if ( variable ) {
desired = SDL_atoi(variable);
}

0 comments on commit 2d91b7a

Please sign in to comment.