--- aux/xcb_aux.c 2008-11-29 00:07:09.686368976 +0100 +++ aux/xcb_aux.c.new 2008-11-29 00:16:27.249370092 +0100 @@ -51,7 +51,7 @@ xcb_aux_get_depth (xcb_connection_t *c, if (!geom) { perror ("GetGeometry(root) failed"); - exit (0); + return 1; } depth = geom->depth;