mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
fix atom for retrieving WM_STATE between re-exec's.
This commit is contained in:
parent
c8a17ef536
commit
6faef40c55
2
xutil.c
2
xutil.c
@ -207,7 +207,7 @@ xu_getstate(struct client_ctx *cc, int *state)
|
|||||||
{
|
{
|
||||||
long *p = NULL;
|
long *p = NULL;
|
||||||
|
|
||||||
if (xu_getprop(cc->win, cwmh[WM_STATE].atom, WM_STATE, 2L,
|
if (xu_getprop(cc->win, cwmh[WM_STATE].atom, cwmh[WM_STATE].atom, 2L,
|
||||||
(u_char **)&p) <= 0)
|
(u_char **)&p) <= 0)
|
||||||
return (-1);
|
return (-1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user