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 diff -r f2f8525e60c2 -r 8ec3036098df src/video/x11/SDL_x11modes.c
     1.2 --- a/src/video/x11/SDL_x11modes.c	Sat Oct 10 10:10:36 2009 +0000
     1.3 +++ b/src/video/x11/SDL_x11modes.c	Sat Oct 10 10:14:01 2009 +0000
     1.4 @@ -421,11 +421,16 @@
     1.5          return 0;
     1.6      }
     1.7  
     1.8 -    /* This defaults off now, due to KDE window maximize problems */
     1.9 -    if ( !env ) {
    1.10 +    /* This used to default off, due to KDE window maximize problems */
    1.11 +    /* Reactivated since I haven't encountered such problems with KDE, but if
    1.12 +       one does encounter such problems he/she can just set
    1.13 +       SDL_VIDEO_X11_XRANDR to 0
    1.14 +       Closes Debian bug: #450689
    1.15 +     */
    1.16 +/*  if ( !env ) {
    1.17          return 0;
    1.18      }
    1.19 -
    1.20 +*/
    1.21      if ( !SDL_X11_HAVE_XRANDR ) {
    1.22          return 0;
    1.23      }