diff options
author | runge <runge> | 2007-08-04 00:53:38 +0000 |
---|---|---|
committer | runge <runge> | 2007-08-04 00:53:38 +0000 |
commit | 338301c1883da09e99647826c73db817bc984366 (patch) | |
tree | 46c8b0f53fe4b5d75220fef639193f62232832d9 /x11vnc/remote.c | |
parent | 0f162f1f0b462a5b088c57ef3461dd7ecbf24d13 (diff) | |
download | libtdevnc-338301c1883da09e99647826c73db817bc984366.tar.gz libtdevnc-338301c1883da09e99647826c73db817bc984366.zip |
x11vnc: -xrefresh, .DCOPserver bug, -unixpw_unsafe ignores SSH tunnel.
Diffstat (limited to 'x11vnc/remote.c')
-rw-r--r-- | x11vnc/remote.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c index 72b2221..8fd50c9 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -3598,6 +3598,20 @@ char *process_remote_cmd(char *cmd, int stringonly) { slow_fb, w); slow_fb = w; + } else if (strstr(p, "xrefresh") == p) { + double w; + COLON_CHECK("xrefresh:") + if (query) { + snprintf(buf, bufn, "ans=%s%s%.2f", p, co, xrefresh); + goto qry; + } + p += strlen("xrefresh:"); + w = atof(p); + if (w <= 0) w = 0.0; + rfbLog("remote_cmd: setting xrefresh delay %.2f -> %.2f\n", + xrefresh, w); + xrefresh = w; + } else if (strstr(p, "wait") == p) { int w; COLON_CHECK("wait:") |