xcb enums are 0-based