mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-06 02:40:14 +01:00
added missing call to xcb_connect()
(cherry picked from commit dc2fb323ee)
This commit is contained in:
parent
9ad4560b3c
commit
83ba1e167c
1 changed files with 2 additions and 1 deletions
|
|
@ -613,8 +613,9 @@ display_exists_p (int number)
|
|||
sprintf (buf, "/tmp/.X11-unix/X%d", number);
|
||||
if (access (buf, F_OK) != 0)
|
||||
return FALSE;
|
||||
|
||||
|
||||
sprintf (buf, ":%d", number);
|
||||
conn = xcb_connect(buf, NULL);
|
||||
if (xcb_connection_has_error(conn)) return FALSE;
|
||||
|
||||
xcb_disconnect(conn);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue