bluetech/kmscon — comment on commit 9eac7c8d457268aed3572ed09c9a1481d65cc408
File: src/input-xkb.c line 919
By dvdhrm:

I don't know how much of this was copied from xlib so I haven't checked the logic behind every function. However, it seems fine to me. Maybe we can simplify this later or remove unused code paths. Maybe...