Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e2ad0e4
)
in getstate(), we need to fetch type XCB_ATOM_ATOM, not the atom.
author
David Hill
<dhill@conformal.com>
Fri, 20 Jul 2012 00:32:52 +0000
(20:32 -0400)
committer
Reginald Kennedy
<rk@rejii.com>
Fri, 20 Jul 2012 22:00:03 +0000
(06:00 +0800)
spectrwm.c
patch
|
blob
|
history
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) {