Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Turn off video mode debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 5, 2012
1 parent 5456506 commit dc46c13
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/video/x11/SDL_x11modes.c
Expand Up @@ -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

Expand Down

0 comments on commit dc46c13

Please sign in to comment.