mirror of
https://github.com/yawut/SDL.git
synced 2026-08-24 01:35:39 -05:00
Pass the flags in, not the window pointer!
This commit is contained in:
@@ -523,7 +523,7 @@ X11_CreateWindow(_THIS, SDL_Window * window)
|
||||
}
|
||||
|
||||
/* Set the window manager state */
|
||||
wmstate_count = X11_GetWMStateProperty(_this, window, wmstate_atoms);
|
||||
wmstate_count = X11_GetWMStateProperty(_this, window->flags, wmstate_atoms);
|
||||
if (wmstate_count > 0) {
|
||||
XChangeProperty(display, w, data->_NET_WM_STATE, XA_ATOM, 32,
|
||||
PropModeReplace,
|
||||
|
||||
Reference in New Issue
Block a user