mirror of https://github.com/encounter/SDL.git
Updated comment: this is the correct way to do fullscreen on X11 now.
This commit is contained in:
parent
e0e04542d0
commit
0c0ce2096c
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue