Updated comment: this is the correct way to do fullscreen on X11 now.

This commit is contained in:
Ryan C. Gordon 2015-04-21 10:19:20 -04:00
parent e0e04542d0
commit 0c0ce2096c

View File

@ -1042,7 +1042,7 @@ X11_RestoreWindow(_THIS, SDL_Window * window)
SetWindowActive(_this, window); SetWindowActive(_this, window);
} }
/* This asks the Window Manager to handle fullscreen for us. Most don't do it right, though. */ /* This asks the Window Manager to handle fullscreen for us. This is the modern way. */
static void static void
X11_SetWindowFullscreenViaWM(_THIS, SDL_Window * window, SDL_VideoDisplay * _display, SDL_bool fullscreen) X11_SetWindowFullscreenViaWM(_THIS, SDL_Window * window, SDL_VideoDisplay * _display, SDL_bool fullscreen)
{ {