[PATCH v5] winex11: Prevent the call sequence change between xim preedit callback and event handlers.