Make the return value of _xcb_conn_wait boolean, instead of syscall-like.
[free-sw/xcb/libxcb] / src / xcb_conn.c
index 50512ee..15b5da6 100644 (file)
@@ -223,5 +223,5 @@ done:
         --c->out.writing;
     --c->in.reading;
 
-    return ret;
+    return ret > 0;
 }