Temporary fix for new xproto