diff options
author | runge <runge> | 2007-01-31 15:41:42 +0000 |
---|---|---|
committer | runge <runge> | 2007-01-31 15:41:42 +0000 |
commit | 1b9082bc8739e5ab186092ca1dcff1736eb91c0e (patch) | |
tree | 9d2a267bcbba93aed87634838c9ac10f36363210 /x11vnc/remote.c | |
parent | 1f8da9bde3b7de272228872410143f076662ae13 (diff) | |
download | libtdevnc-1b9082bc8739e5ab186092ca1dcff1736eb91c0e.tar.gz libtdevnc-1b9082bc8739e5ab186092ca1dcff1736eb91c0e.zip |
x11vnc: -reflect, -N. -ncache, FINDDISPLAY, FINDCREATEDISPLAY, improvements. MODTWEAK_LOWEST workaround.
Diffstat (limited to 'x11vnc/remote.c')
-rw-r--r-- | x11vnc/remote.c | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c index 93f8de5..d8dfa5c 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -2790,7 +2790,6 @@ char *process_remote_cmd(char *cmd, int stringonly) { if (orig != ncache_xrootpmap) { do_new_fb(1); } - } else if (!strcmp(p, "noncache_no_rootpixmap")) { int orig = ncache_xrootpmap; if (query) { @@ -2813,6 +2812,38 @@ char *process_remote_cmd(char *cmd, int stringonly) { set_ncache_xrootpmap(); } + } else if (!strcmp(p, "ncache_keep_anims")) { + if (query) { + snprintf(buf, bufn, "ans=%s:%d", p, ncache_keep_anims); + goto qry; + } + kde_no_animate(0); + ncache_keep_anims = 1; + rfbLog("remote_cmd: set -ncache_keep_anims\n"); + } else if (!strcmp(p, "noncache_keep_anims")) { + if (query) { + snprintf(buf, bufn, "ans=%s:%d", p, !ncache_keep_anims); + goto qry; + } + ncache_keep_anims = 0; + kde_no_animate(1); + rfbLog("remote_cmd: disabled -ncache_keep_anims\n"); + + } else if (!strcmp(p, "ncache_old_wm")) { + if (query) { + snprintf(buf, bufn, "ans=%s:%d", p, ncache_old_wm); + goto qry; + } + ncache_old_wm = 1; + rfbLog("remote_cmd: set -ncache_old_wm\n"); + } else if (!strcmp(p, "noncache_old_wm")) { + if (query) { + snprintf(buf, bufn, "ans=%s:%d", p, !ncache_old_wm); + goto qry; + } + ncache_old_wm = 0; + rfbLog("remote_cmd: disabled -ncache_old_wm\n"); + } else if (!strcmp(p, "ncache")) { if (query) { snprintf(buf, bufn, "ans=%s:%d", p, !!ncache); |