Commit 75853ed66b87ceeac7067818cb8559ecb40bb9b0

Ran Benita 2012-08-10T10:11:49

Use XKB_{GROUP,LEVEL}_INVALID instead of -1 for errors The group/level types are unsigned, so it's odd to return -1 for them. Instead use their invalid values (which happen to be == -1). Signed-off-by: Ran Benita <ran234@gmail.com>