diff options
author | runge <runge> | 2006-06-08 23:06:26 +0000 |
---|---|---|
committer | runge <runge> | 2006-06-08 23:06:26 +0000 |
commit | 1776a3a55f59052bd69509c889e4370973305f0d (patch) | |
tree | e77c3c0b53a1f15c03bba215c60982bc3e28c727 /x11vnc/remote.c | |
parent | a60ee2ee9f73d21c4407136d7a2878a34be2f7ed (diff) | |
download | libtdevnc-1776a3a55f59052bd69509c889e4370973305f0d.tar.gz libtdevnc-1776a3a55f59052bd69509c889e4370973305f0d.zip |
x11vnc: -display WAIT:..., -users unixpw=, su_verify dpy command.
Diffstat (limited to 'x11vnc/remote.c')
-rw-r--r-- | x11vnc/remote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c index cebd00f..0716a81 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -585,7 +585,7 @@ int remote_control_access_ok(void) { "XAUTHORITY\n", dpy_str); fprintf(stderr, " -- (ignore any Xlib: errors that" " follow) --\n"); - dpy2 = XOpenDisplay(dpy_str); + dpy2 = XOpenDisplay_wr(dpy_str); fflush(stderr); fprintf(stderr, " -- (done checking) --\n\n"); @@ -601,7 +601,7 @@ int remote_control_access_ok(void) { if (dpy2) { rfbLog("XAUTHORITY is not required on display.\n"); rfbLog(" %s\n", DisplayString(dpy)); - XCloseDisplay(dpy2); + XCloseDisplay_wr(dpy2); dpy2 = NULL; return 0; } |