mirror of
https://github.com/joel16/SDL2.git
synced 2025-02-16 01:28:39 +00:00
Fix title bar setting bug
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40161
This commit is contained in:
parent
54be57078a
commit
7567d402af
@ -850,9 +850,9 @@ static int X11_CreateWindow(_THIS, SDL_Surface *screen,
|
||||
if ( ! SDL_windowid ) {
|
||||
XMapWindow(SDL_Display, SDL_Window);
|
||||
XMapWindow(SDL_Display, WMwindow);
|
||||
X11_WaitMapped(this, WMwindow);
|
||||
if ( flags & SDL_FULLSCREEN ) {
|
||||
screen->flags |= SDL_FULLSCREEN;
|
||||
X11_WaitMapped(this, WMwindow);
|
||||
X11_EnterFullScreen(this);
|
||||
} else {
|
||||
screen->flags &= ~SDL_FULLSCREEN;
|
||||
|
Loading…
x
Reference in New Issue
Block a user