[PATCH v6 2/5] winex11: Move call_event_handler function around.