Skip to content

Commit

Permalink
Adapted from Debian patch: 320_activate_xrandr_on_default.diff
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 10, 2009
1 parent 6913984 commit a3593f6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/video/x11/SDL_x11modes.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit a3593f6

Please sign in to comment.