Skip to content

Commit

Permalink
Fix title bar setting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 31, 2001
1 parent 90a6d7f commit b97c37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11video.c
Expand Up @@ -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;
Expand Down

0 comments on commit b97c37d

Please sign in to comment.