mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 15:58:04 -05:00
Fix title bar setting bug
This commit is contained in:
parent
f570058cfc
commit
bba9986412
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user