summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc.c
diff options
context:
space:
mode:
authorrunge <runge>2006-09-10 21:06:44 +0000
committerrunge <runge>2006-09-10 21:06:44 +0000
commite4c85d48e68d5f135dd3a478aff8adb7697a1349 (patch)
tree780fe6f1ca17c0b7915a9b0b63742737bfdfce92 /x11vnc/x11vnc.c
parent1cb25ce3a50796d7a252dcd3df956017afe72264 (diff)
downloadlibtdevnc-e4c85d48e68d5f135dd3a478aff8adb7697a1349.tar.gz
libtdevnc-e4c85d48e68d5f135dd3a478aff8adb7697a1349.zip
x11vnc: REQ_ARGS, EV_SYN/SYN_REPORT check. restore -cursor most under -display WAIT
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r--x11vnc/x11vnc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c
index ce8b352..f81493d 100644
--- a/x11vnc/x11vnc.c
+++ b/x11vnc/x11vnc.c
@@ -2825,9 +2825,17 @@ int main(int argc, char* argv[]) {
"\"lurk=\" mode...\n");
}
lurk_loop(users_list);
+
} else if (use_dpy && strstr(use_dpy, "WAIT:") == use_dpy) {
+ char *mcm = multiple_cursors_mode;
+
waited_for_client = wait_for_client(&argc_vnc, argv_vnc,
try_http && ! got_httpdir);
+
+ if (!mcm && multiple_cursors_mode) {
+ free(multiple_cursors_mode);
+ multiple_cursors_mode = NULL;
+ }
}
if (use_dpy) {