[Xcb] [patch] bugfix: xproto.xml request GetKeyboardMapping

Thien-Thi Nguyen ttn at gnuvola.org
Thu Nov 29 07:10:22 PST 2007


greetings,

thanks for writing xcb-proto; i like playing w/ it.
see <http://www.gnuvola.org/data/> for current hackery.
i think i found a bug, however.  below is the local fix.
what do you think?

thi


_____________________________________________________
diff --git a/src/xproto.xml b/src/xproto.xml
index 8254d11..cbddd75 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -2015,8 +2015,8 @@ authorization from the authors.
       <pad bytes="24" />
       <list type="KEYSYM" name="keysyms">
         <op op="*">
-          <fieldref>length</fieldref>
-          <value>4</value>
+          <fieldref>count</fieldref>
+          <fieldref>keysyms_per_keycode</fieldref>
         </op>
       </list>
     </reply>


More information about the Xcb mailing list