Hey, I'm wondering if the second argument of xcb_ungrab_key (key) should be an xcb_keycode_t and nnot a uint8_t. I know that xcb_keycode_t is an uint8_t, but, if I'm not mistaken, the protocol says that's it's a KEYCODE (you should verify, I've only looked at the X11.protocol file in gitweb) Vincent