summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
authorokan <okan>2012-07-08 02:55:01 +0000
committerokan <okan>2012-07-08 02:55:01 +0000
commit2450e309ea6b0666606adcd93146687ece13c11e (patch)
tree16075e8d567a3a596e8c64ebe481cb6f56bcaee1 /xutil.c
parent6faef40c55bdf81ed638085f224cda8b9001fb85 (diff)
downloadcwm-2450e309ea6b0666606adcd93146687ece13c11e.tar.gz
cwm-2450e309ea6b0666606adcd93146687ece13c11e.tar.xz
cwm-2450e309ea6b0666606adcd93146687ece13c11e.zip
fix atom for setting WM_STATE.
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);
 }