Skip to content
Permalink
Browse files

Adapted from Debian patch: 320_activate_xrandr_on_default.diff

  • Loading branch information
slouken committed Oct 10, 2009
1 parent 6913984 commit a3593f68d68748a010ca0e9264195c1210337661
Showing with 8 additions and 3 deletions.
  1. +8 −3 src/video/x11/SDL_x11modes.c
@@ -421,11 +421,16 @@ static int CheckXRandR(_THIS, int *major, int *minor)
return 0;
}

/* This defaults off now, due to KDE window maximize problems */
if ( !env ) {
/* This used to default off, due to KDE window maximize problems */
/* Reactivated since I haven't encountered such problems with KDE, but if
one does encounter such problems he/she can just set
SDL_VIDEO_X11_XRANDR to 0
Closes Debian bug: #450689
*/
/* if ( !env ) {
return 0;
}

*/
if ( !SDL_X11_HAVE_XRANDR ) {
return 0;
}

0 comments on commit a3593f6

Please sign in to comment.