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/xevents.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/xevents.c')
-rw-r--r-- | x11vnc/xevents.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x11vnc/xevents.c b/x11vnc/xevents.c index 25d9cd4..ab49f0b 100644 --- a/x11vnc/xevents.c +++ b/x11vnc/xevents.c @@ -454,7 +454,7 @@ static void grab_buster_watch(int parent, char *dstr) { } /* overwrite original dpy, we let orig connection sit unused. */ - dpy = XOpenDisplay(dstr); + dpy = XOpenDisplay_wr(dstr); if (!dpy) { fprintf(stderr, "grab_buster_watch: could not reopen: %s\n", dstr); @@ -518,7 +518,7 @@ void spawn_grab_buster(void) { RAWFB_RET_VOID - XCloseDisplay(dpy); + XCloseDisplay_wr(dpy); dpy = NULL; if ((pid = fork()) > 0) { @@ -539,7 +539,7 @@ void spawn_grab_buster(void) { exit(0); } - dpy = XOpenDisplay(dstr); + dpy = XOpenDisplay_wr(dstr); if (!dpy) { rfbLog("failed to reopen display %s in spawn_grab_buster\n", dstr); |