linux/xcb key events support, part 1