From 6faef40c55bdf81ed638085f224cda8b9001fb85 Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 8 Jul 2012 02:50:41 +0000 Subject: [PATCH] fix atom for retrieving WM_STATE between re-exec's. --- xutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);