branch: externals/xelb
commit bb8f19a0f8d0c4168c077280e8a0db294ae0b864
Author: Chris Feng <chris.w.f...@gmail.com>
Commit: Chris Feng <chris.w.f...@gmail.com>

    Sync with upstream protocol
---
 xcb-res.el |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/xcb-res.el b/xcb-res.el
index af0951e..6216b92 100644
--- a/xcb-res.el
+++ b/xcb-res.el
@@ -58,7 +58,9 @@
    (value :initarg :value :type xcb:-ignore)
    (value~ :initform
           '(name value type xcb:CARD32 size
-                 (xcb:-fieldref 'length))
+                 (/
+                  (xcb:-fieldref 'length)
+                  4))
           :type xcb:-list)))
 
 (defclass xcb:res:ResourceIdSpec

Reply via email to