Backport AlreadyGrabbed fix to 1.20

We can't have high keycodes because everything in XKB relies on 8 bits. XI2's API allows for 32-bit keycodes so we have to take those but nothing in the server is really ready for this. The effect of this right now is that any high keycode grab is clipped to 255 and thus ends up grabbing a different key instead.

Signed-off-by: Peter Hutterer (cherry picked from commit f4cdbf64)

Merge request reports