Updated comment: this is the correct way to do fullscreen on X11 now.
--HG-- extra : histedit_source : c23425d752c1aa71cd02df35fe4bc4593c8c01d4
This commit is contained in:
parent
42fe73367b
commit
feae2421c8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue