From 7567d402afea555bc85a4df041cc44df25752293 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 31 Aug 2001 20:53:05 +0000 Subject: [PATCH] Fix title bar setting bug --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40161 --- src/video/x11/SDL_x11video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/x11/SDL_x11video.c b/src/video/x11/SDL_x11video.c index 6ff9e00c..3833ee87 100644 --- a/src/video/x11/SDL_x11video.c +++ b/src/video/x11/SDL_x11video.c @@ -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;