From 42dab8c8ec0cc2895cd0c75d1a5a5ec68b5e717e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 28 Sep 2012 01:15:48 -0700 Subject: [PATCH] Pass the flags in, not the window pointer! --- src/video/x11/SDL_x11window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/x11/SDL_x11window.c b/src/video/x11/SDL_x11window.c index e2a6d3f40..d3a93f602 100644 --- a/src/video/x11/SDL_x11window.c +++ b/src/video/x11/SDL_x11window.c @@ -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,