typedef XEvent -> STKEvent