Xlib keyboard support