240 |
int result; |
int result; |
241 |
unsigned long nitems; |
unsigned long nitems; |
242 |
unsigned char *props; |
unsigned char *props; |
243 |
uint32 state; |
uint32 state = WithdrawnState; |
244 |
|
|
245 |
/* The spec states that the window manager must respect any |
/* The spec states that the window manager must respect any |
246 |
_NET_WM_STATE attributes on a withdrawn window. In order words, we |
_NET_WM_STATE attributes on a withdrawn window. In order words, we |
253 |
XFree(props); |
XFree(props); |
254 |
} |
} |
255 |
|
|
256 |
if ((result < 0) || !nitems || (state == WithdrawnState)) |
if (state == WithdrawnState) |
257 |
{ |
{ |
258 |
if (add) |
if (add) |
259 |
{ |
{ |