x11-xcb: missed a `return -1` on error