diff options
author | runge <runge> | 2008-11-22 18:36:33 +0000 |
---|---|---|
committer | runge <runge> | 2008-11-22 18:36:33 +0000 |
commit | 6fbba525a924961083bf2e43bb841bd15671f526 (patch) | |
tree | 3ec0cf4b285fb0140294a151b801c91bc78a612e /x11vnc/remote.c | |
parent | 63b98dba790fa9835e970b8502d93258862a9373 (diff) | |
download | libtdevnc-6fbba525a924961083bf2e43bb841bd15671f526.tar.gz libtdevnc-6fbba525a924961083bf2e43bb841bd15671f526.zip |
x11vnc: x11vnc.desktop file. -reopen, -dhparams, -sslCRL,
-setdefer options. -rfbport PROMPT VeNCrypt and TLSVNC SSL/TLS
encryption support. Tweaks to choose_delay() algorithm.
-ssl ANON anonymouse Diffie-Hellman mode. Fix bugs in certs
management. Additions to tray=setpass naive user mode.
Diffstat (limited to 'x11vnc/remote.c')
-rw-r--r-- | x11vnc/remote.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c index fd5d02b..9b751bc 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -2843,7 +2843,7 @@ char *process_remote_cmd(char *cmd, int stringonly) { use_xdamage = 1; if (use_xdamage != orig) { initialize_xdamage(); - create_xdamage_if_needed(); + create_xdamage_if_needed(0); } goto done; } @@ -3927,6 +3927,7 @@ char *process_remote_cmd(char *cmd, int stringonly) { d = atoi(p); if (d < 0) d = 0; rfbLog("remote_cmd: setting defer to %d ms.\n", d); + defer_update = d; screen->deferUpdateTime = d; got_defer = 1; goto done; @@ -3947,10 +3948,22 @@ char *process_remote_cmd(char *cmd, int stringonly) { d = atoi(p); if (d < 0) d = 0; rfbLog("remote_cmd: setting defer to %d ms.\n", d); + defer_update = d; screen->deferUpdateTime = d; got_defer = 1; goto done; } + if (strstr(p, "setdefer") == p) { + COLON_CHECK("setdefer:") + if (query) { + snprintf(buf, bufn, "ans=%s%s%d", p, co, set_defer); + goto qry; + } + p += strlen("setdefer:"); + set_defer = atoi(p); + rfbLog("remote_cmd: setting set_defer to %d\n", set_defer); + goto done; + } if (strstr(p, "wait_ui") == p) { double w; COLON_CHECK("wait_ui:") @@ -5177,7 +5190,6 @@ char *process_remote_cmd(char *cmd, int stringonly) { snprintf(buf, bufn, "aro=%s:%s", p, NONUL(passwdfile)); goto qry; } -#ifndef NO_SSL_OR_UNIXPW if (!strcmp(p, "unixpw")) { snprintf(buf, bufn, "aro=%s:%d", p, unixpw); goto qry; @@ -5218,7 +5230,6 @@ char *process_remote_cmd(char *cmd, int stringonly) { snprintf(buf, bufn, "aro=%s:%d", p, https_port_redir); goto qry; } -#endif if (!strcmp(p, "usepw")) { snprintf(buf, bufn, "aro=%s:%d", p, usepw); goto qry; |