Pass the flags in, not the window pointer!
authorSam Lantinga <slouken@libsdl.org>
Fri, 28 Sep 2012 01:15:48 -0700
changeset 64853f600ccf393c
parent 6484 b904bb684095
child 6486 e3264eea9607
Pass the flags in, not the window pointer!
src/video/x11/SDL_x11window.c
     1.1 --- a/src/video/x11/SDL_x11window.c	Fri Sep 28 01:11:30 2012 -0700
     1.2 +++ b/src/video/x11/SDL_x11window.c	Fri Sep 28 01:15:48 2012 -0700
     1.3 @@ -523,7 +523,7 @@
     1.4      }
     1.5  
     1.6      /* Set the window manager state */
     1.7 -    wmstate_count = X11_GetWMStateProperty(_this, window, wmstate_atoms);
     1.8 +    wmstate_count = X11_GetWMStateProperty(_this, window->flags, wmstate_atoms);
     1.9      if (wmstate_count > 0) {
    1.10          XChangeProperty(display, w, data->_NET_WM_STATE, XA_ATOM, 32,
    1.11                          PropModeReplace,