x11: relax XkbGetNames requirements
authorRan Benita <ran234@gmail.com>
Thu, 6 Mar 2014 11:43:02 +0000 (13:43 +0200)
committerRan Benita <ran234@gmail.com>
Thu, 6 Mar 2014 11:43:02 +0000 (13:43 +0200)
commit3c14d233678154f4a62cb889e116525c2a4a82c9
treee46f04e8370ad3abfacf9beab1ced3d0e6d79ed0
parentfdb4de1f85e336be01f077e8c8e86c6a76bab6ba
x11: relax XkbGetNames requirements

It is valid for a keymap to not have key aliases, group names and
various other things. But the current test requires all of them to be
present in the reply, which causes us the fail on such keymaps (as the
XQuartz one).

Instead, require only what we really need. The virtual-mods names may
not be strictly required, but it seems safer to leave it in for now.

https://bugs.freedesktop.org/show_bug.cgi?id=75798

Reported-by: Gatis Paeglis <gatis.paeglis@digia.com>
Signed-off-by: Ran Benita <ran234@gmail.com>
src/x11/keymap.c