Comment 0 for bug 66996

Revision history for this message
In , kv11111 (kv11111) wrote :

The bug is in the hw/kdrive/ephyr/hostx.c: it is compiled without _XSERVER64
being defined, so KeySym is 64bit wide and kdKeymap is defined as extern
pointer to 64bit KeySym. But it is actually defined in other file as pointer to
32bit KeySym.

The second problem is that KD_MAX_KEYCODE in hw/kdrive/src/kkeymap.h is defined
to be 254, but according to XDisplayKeycodes documentation it should be 255.

I'm attaching to patches to fix this problems.