diff options
author | okan <okan> | 2012-07-08 02:50:41 +0000 |
---|---|---|
committer | okan <okan> | 2012-07-08 02:50:41 +0000 |
commit | 6faef40c55bdf81ed638085f224cda8b9001fb85 (patch) | |
tree | ad8dd58c35b950ef81df5600c83165ab15db47ec | |
parent | c8a17ef5364a1ed43e709da40f1f4715e2852e3c (diff) | |
download | cwm-6faef40c55bdf81ed638085f224cda8b9001fb85.tar.gz cwm-6faef40c55bdf81ed638085f224cda8b9001fb85.tar.xz cwm-6faef40c55bdf81ed638085f224cda8b9001fb85.zip |
fix atom for retrieving WM_STATE between re-exec's.
-rw-r--r-- | xutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xutil.c b/xutil.c index 7f0c4c4..2a7d089 100644 --- a/xutil.c +++ b/xutil.c @@ -207,7 +207,7 @@ xu_getstate(struct client_ctx *cc, int *state) { 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) return (-1); |