Fix title bar setting bug

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40161
This commit is contained in:
Sam Lantinga 2001-08-31 20:53:05 +00:00
parent 54be57078a
commit 7567d402af

View File

@ -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;