namespaced enums to avoid name conflict with struct _XRegion* Region