While comparing the implementations of USE_KKCC in event-msw.c with
those in event-Xt.c, I noticed some apparent problems. I'm not in a
position to test under X so I'm describing the problems without
offering patches.
1) In x_to_emacs_keysym at lines 1070 to 1077, the mutator macros
SET_KEY_DATA_MODIFIERS and SET_KEY_DATA_KEYSYM are used without
first creating the key data object through a call to
set_event_type. And I believe that XEVENT_DATA rather than
XKEY_DATA should be used to wrap the emacs event object.
2) In enqueue_focus_event at line 1688 the address of the x event
object is taken before the object is allocated throught the
set_event_type call.
david