From a3593f68d68748a010ca0e9264195c1210337661 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 10 Oct 2009 10:14:01 +0000 Subject: [PATCH] Adapted from Debian patch: 320_activate_xrandr_on_default.diff --- src/video/x11/SDL_x11modes.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/video/x11/SDL_x11modes.c b/src/video/x11/SDL_x11modes.c index 802d06117..070455a85 100644 --- a/src/video/x11/SDL_x11modes.c +++ b/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; }