summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xutil.c b/xutil.c
index 2a7d089..1158a05 100644
--- a/xutil.c
+++ b/xutil.c
@@ -227,7 +227,7 @@ xu_setstate(struct client_ctx *cc, int state)
 
 	cc->state = state;
 	XChangeProperty(X_Dpy, cc->win,
-	    cwmh[WM_STATE].atom, WM_STATE, 32,
+	    cwmh[WM_STATE].atom, cwmh[WM_STATE].atom, 32,
 	    PropModeReplace, (unsigned char *)dat, 2);
 }