Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11video.c @ 160:2a8d929f50e0
Fix title bar setting bug
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 31 Aug 2001 20:53:05 +0000 |
parents | 71774090f286 |
children | 3f09f52ac2cc |
comparison
equal
deleted
inserted
replaced
159:9841293e9e86 | 160:2a8d929f50e0 |
---|---|
848 | 848 |
849 /* Map them both and go fullscreen, if requested */ | 849 /* Map them both and go fullscreen, if requested */ |
850 if ( ! SDL_windowid ) { | 850 if ( ! SDL_windowid ) { |
851 XMapWindow(SDL_Display, SDL_Window); | 851 XMapWindow(SDL_Display, SDL_Window); |
852 XMapWindow(SDL_Display, WMwindow); | 852 XMapWindow(SDL_Display, WMwindow); |
853 X11_WaitMapped(this, WMwindow); | |
853 if ( flags & SDL_FULLSCREEN ) { | 854 if ( flags & SDL_FULLSCREEN ) { |
854 screen->flags |= SDL_FULLSCREEN; | 855 screen->flags |= SDL_FULLSCREEN; |
855 X11_WaitMapped(this, WMwindow); | |
856 X11_EnterFullScreen(this); | 856 X11_EnterFullScreen(this); |
857 } else { | 857 } else { |
858 screen->flags &= ~SDL_FULLSCREEN; | 858 screen->flags &= ~SDL_FULLSCREEN; |
859 } | 859 } |
860 } | 860 } |