Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Pass the flags in, not the window pointer!

  • Loading branch information
slouken committed Sep 28, 2012
1 parent 7a6bb74 commit 42dab8c8ec0cc2895cd0c75d1a5a5ec68b5e717e
Showing with 1 addition and 1 deletion.
  1. +1 −1 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,

0 comments on commit 42dab8c

Please sign in to comment.