NOTE: error message in Linux is hardcoded, since there's no way to get error from xcb_generic_error_t