mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
X11: fix removing SDL_WINDOW_HIDDEN flags (thanks @zturtleman)
This commit is contained in:
parent
e4e7a8baff
commit
71eb78e790
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ static int SetupWindowData(_THIS, SDL_Window *window, Window w, BOOL created)
|
|||
window->w = attrib.width;
|
||||
window->h = attrib.height;
|
||||
if (attrib.map_state != IsUnmapped) {
|
||||
window->flags &= SDL_WINDOW_HIDDEN;
|
||||
window->flags &= ~SDL_WINDOW_HIDDEN;
|
||||
} else {
|
||||
window->flags |= SDL_WINDOW_HIDDEN;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue