According to the protocol, the key argument is a KEYCODE, that it, xcb_keycode_t. It's right now a uint8_t (same than xcb_keycode_t), so it's api and abi compatible. To be sure, can someone also verify that I'm not wrong about the type of that argument ?
Verified and fixed. Thanks for catching and reporting this bug!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.