X11 backend: check only defined error codes