added missing call to xcb_connect()

(cherry picked from commit dc2fb323ee)
This commit is contained in:
Ben Byer 2007-12-01 18:28:19 -08:00 committed by Jeremy Huddleston
parent 9ad4560b3c
commit 83ba1e167c

View File

@ -615,6 +615,7 @@ display_exists_p (int number)
return FALSE;
sprintf (buf, ":%d", number);
conn = xcb_connect(buf, NULL);
if (xcb_connection_has_error(conn)) return FALSE;
xcb_disconnect(conn);