[PATCH v4 2/6] winex11: Move call_event_handler function around.