Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
in getstate(), we need to fetch type XCB_ATOM_ATOM, not the atom.
[spectrwm.git]
/
spectrwm.c
diff --git
a/spectrwm.c
b/spectrwm.c
index
c8daa81
..
e0552dd
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-1992,7
+1992,7
@@
getstate(xcb_window_t w)
xcb_get_property_cookie_t c;
xcb_get_property_reply_t *r;
- c = xcb_get_property(conn, 0, w, a_state, a_state, 0L, 2L);
+ c = xcb_get_property(conn, 0, w, a_state, XCB_ATOM_ATOM, 0L, 2L);
r = xcb_get_property_reply(conn, c, NULL);
if (r) {