Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
XkbGetKeyboard can return NULL #389
@elmindreda Heh, thanks. Also note that using XkbGetMap() instead will actually fix a real bug with X11: when you get the keyboard name and compile it yourself, this will ignore any modifications that users have made themselves with xmodmap or setting local XKB maps. Calling XkbGetMap() is the only way to guarantee that you're using the exact same keymap as the server and clients in general.
Yep, looks fine to me! Note that you can't necessarily rely on the names