diff options
-rw-r--r-- | icccm/icccm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icccm/icccm.c b/icccm/icccm.c index 9d13334..7cc341a 100644 --- a/icccm/icccm.c +++ b/icccm/icccm.c @@ -708,7 +708,7 @@ xcb_get_wm_protocols_reply(xcb_connection_t *c, } protocols->_reply = reply; - protocols->atoms_len = xcb_get_property_value_length(protocols->_reply); + protocols->atoms_len = xcb_get_property_value_length(protocols->_reply) / (reply->format / 8); protocols->atoms = (xcb_atom_t *) xcb_get_property_value(protocols->_reply); return 1; |