src/video/x11/SDL_x11window.c
changeset 6485 3f600ccf393c
parent 6484 b904bb684095
child 6486 e3264eea9607
equal deleted inserted replaced
6484:b904bb684095 6485:3f600ccf393c
   521         XChangeProperty(display, w, _NET_WM_PID, XA_CARDINAL, 32, PropModeReplace,
   521         XChangeProperty(display, w, _NET_WM_PID, XA_CARDINAL, 32, PropModeReplace,
   522                         (unsigned char *)&data->pid, 1);
   522                         (unsigned char *)&data->pid, 1);
   523     }
   523     }
   524 
   524 
   525     /* Set the window manager state */
   525     /* Set the window manager state */
   526     wmstate_count = X11_GetWMStateProperty(_this, window, wmstate_atoms);
   526     wmstate_count = X11_GetWMStateProperty(_this, window->flags, wmstate_atoms);
   527     if (wmstate_count > 0) {
   527     if (wmstate_count > 0) {
   528         XChangeProperty(display, w, data->_NET_WM_STATE, XA_ATOM, 32,
   528         XChangeProperty(display, w, data->_NET_WM_STATE, XA_ATOM, 32,
   529                         PropModeReplace,
   529                         PropModeReplace,
   530                         (unsigned char *)wmstate_atoms, wmstate_count);
   530                         (unsigned char *)wmstate_atoms, wmstate_count);
   531     } else {
   531     } else {