From dc46c13ae82cd2cfbf7cb979faa1a14aa46ff2d1 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 4 Oct 2012 20:41:22 -0700 Subject: [PATCH] Turn off video mode debugging --- src/video/x11/SDL_x11modes.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/video/x11/SDL_x11modes.c b/src/video/x11/SDL_x11modes.c index 4715476b5..5a28731d9 100644 --- a/src/video/x11/SDL_x11modes.c +++ b/src/video/x11/SDL_x11modes.c @@ -25,14 +25,15 @@ #include "SDL_hints.h" #include "SDL_x11video.h" -#define X11MODES_DEBUG - -/* I'm becoming more and more convinced that the application should never use XRandR, - * and it's the window manager's responsibility to track and manage display modes for - * fullscreen windows. Right now XRandR is completely broken with respect to window - * manager behavior on every window manager that I can find. For example, on Unity 3D - * if you show a fullscreen window while the resolution is changing (within ~250 ms) - * your window will retain the fullscreen state hint but be decorated and windowed. +/*#define X11MODES_DEBUG*/ + +/* I'm becoming more and more convinced that the application should never + * use XRandR, and it's the window manager's responsibility to track and + * manage display modes for fullscreen windows. Right now XRandR is completely + * broken with respect to window manager behavior on every window manager that + * I can find. For example, on Unity 3D if you show a fullscreen window while + * the resolution is changing (within ~250 ms) your window will retain the + * fullscreen state hint but be decorated and windowed. */ #define XRANDR_DISABLED_BY_DEFAULT