Commit 7567d402 authored by Sam Lantinga's avatar Sam Lantinga

Fix title bar setting bug

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40161
parent 54be5707
...@@ -850,9 +850,9 @@ static int X11_CreateWindow(_THIS, SDL_Surface *screen, ...@@ -850,9 +850,9 @@ static int X11_CreateWindow(_THIS, SDL_Surface *screen,
if ( ! SDL_windowid ) { if ( ! SDL_windowid ) {
XMapWindow(SDL_Display, SDL_Window); XMapWindow(SDL_Display, SDL_Window);
XMapWindow(SDL_Display, WMwindow); XMapWindow(SDL_Display, WMwindow);
X11_WaitMapped(this, WMwindow);
if ( flags & SDL_FULLSCREEN ) { if ( flags & SDL_FULLSCREEN ) {
screen->flags |= SDL_FULLSCREEN; screen->flags |= SDL_FULLSCREEN;
X11_WaitMapped(this, WMwindow);
X11_EnterFullScreen(this); X11_EnterFullScreen(this);
} else { } else {
screen->flags &= ~SDL_FULLSCREEN; screen->flags &= ~SDL_FULLSCREEN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment