View | Details | Raw Unified
Collapse All | Expand All

(-) SDL-1.2.11/src/video/x11/SDL_x11modes.c (-2 / +2 lines)
 Lines 509-515   int X11_GetVideoModes(_THIS) Link Here 
    /* Query Xinerama extention */
    /* Query Xinerama extention */
    if ( CheckXinerama(this, &xinerama_major, &xinerama_minor) ) {
    if ( CheckXinerama(this, &xinerama_major, &xinerama_minor) ) {
        /* Find out which screen is the desired one */
        /* Find out which screen is the desired one */
        int desired = 0;
        int desired = -1;
        int screens;
        int screens;
        int w, h;
        int w, h;
        SDL_NAME(XineramaScreenInfo) *xinerama;
        SDL_NAME(XineramaScreenInfo) *xinerama;
 Lines 630-636   int X11_GetVideoModes(_THIS) Link Here 
    /* XVidMode */
    /* XVidMode */
    if ( !use_xrandr &&
    if ( !use_xrandr &&
#if SDL_VIDEO_DRIVER_X11_XINERAMA
#if SDL_VIDEO_DRIVER_X11_XINERAMA
         (!use_xinerama || xinerama_info.screen_number == 0) &&
         (!use_xinerama || xinerama_info.screen_number == -1) &&
#endif
#endif
         CheckVidMode(this, &vm_major, &vm_minor) &&
         CheckVidMode(this, &vm_major, &vm_minor) &&
         SDL_NAME(XF86VidModeGetAllModeLines)(SDL_Display, SDL_Screen,&nmodes,&modes) )
         SDL_NAME(XF86VidModeGetAllModeLines)(SDL_Display, SDL_Screen,&nmodes,&modes) )