mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
fix atom for setting WM_STATE.
This commit is contained in:
parent
6faef40c55
commit
2450e309ea
2
xutil.c
2
xutil.c
@ -227,7 +227,7 @@ xu_setstate(struct client_ctx *cc, int state)
|
|||||||
|
|
||||||
cc->state = state;
|
cc->state = state;
|
||||||
XChangeProperty(X_Dpy, cc->win,
|
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);
|
PropModeReplace, (unsigned char *)dat, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user