diff options
author | okan <okan> | 2012-07-08 02:55:01 +0000 |
---|---|---|
committer | okan <okan> | 2012-07-08 02:55:01 +0000 |
commit | 2450e309ea6b0666606adcd93146687ece13c11e (patch) | |
tree | 16075e8d567a3a596e8c64ebe481cb6f56bcaee1 /xutil.c | |
parent | 6faef40c55bdf81ed638085f224cda8b9001fb85 (diff) | |
download | cwm-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.c | 2 |
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); } |