Commit ae127b28 authored by Adam Sampson's avatar Adam Sampson
Browse files

xkb: Fix off-by-one error in XKeycodeToKeysym



The code here that made indexes greater than 3 refer to XKB symbol
groups had an off-by-one error, so it would always leave out the symbol
that should have been at index 4. Rewrite the code to fix this and
simplify the logic a bit.
Signed-off-by: Adam Sampson's avatarAdam Sampson <ats@offog.org>
parent d01d2337
Pipeline #353086 passed with stages
in 11 minutes and 18 seconds