Adapted from Debian patch: 320_activate_xrandr_on_default.diff SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Sat, 10 Oct 2009 10:14:01 +0000
branchSDL-1.2
changeset 43138ec3036098df
parent 4312 f2f8525e60c2
child 4314 0660995cdd3b
Adapted from Debian patch: 320_activate_xrandr_on_default.diff
src/video/x11/SDL_x11modes.c
     1.1 --- a/src/video/x11/SDL_x11modes.c	Sat Oct 10 10:10:36 2009 +0000
     1.2 +++ b/src/video/x11/SDL_x11modes.c	Sat Oct 10 10:14:01 2009 +0000
     1.3 @@ -421,11 +421,16 @@
     1.4          return 0;
     1.5      }
     1.6  
     1.7 -    /* This defaults off now, due to KDE window maximize problems */
     1.8 -    if ( !env ) {
     1.9 +    /* This used to default off, due to KDE window maximize problems */
    1.10 +    /* Reactivated since I haven't encountered such problems with KDE, but if
    1.11 +       one does encounter such problems he/she can just set
    1.12 +       SDL_VIDEO_X11_XRANDR to 0
    1.13 +       Closes Debian bug: #450689
    1.14 +     */
    1.15 +/*  if ( !env ) {
    1.16          return 0;
    1.17      }
    1.18 -
    1.19 +*/
    1.20      if ( !SDL_X11_HAVE_XRANDR ) {
    1.21          return 0;
    1.22      }