ignore dead key event

* do not crash on a dead key event


if i try to input some roman character with accent, welly crashes. this patch address this problem by by-passing these events.