diff options
author | runge <runge> | 2007-09-05 03:39:51 +0000 |
---|---|---|
committer | runge <runge> | 2007-09-05 03:39:51 +0000 |
commit | 6a6d26a74701179672d59bfd153cc1a2e92e96bd (patch) | |
tree | 47537dd9d54f9c9e95c01e066435216bbac99ceb /x11vnc/remote.c | |
parent | e30552512933e6f0a07b83dd3246a97ff5281503 (diff) | |
download | libtdevnc-6a6d26a74701179672d59bfd153cc1a2e92e96bd.tar.gz libtdevnc-6a6d26a74701179672d59bfd153cc1a2e92e96bd.zip |
x11vnc: -autoport, -finddpy, -xdummy. watch xrandr events. check_redir_services() utilities for Terminal services. Improve Xdummy.
Diffstat (limited to 'x11vnc/remote.c')
-rw-r--r-- | x11vnc/remote.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c index 8fd50c9..e35cef9 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -1937,6 +1937,7 @@ char *process_remote_cmd(char *cmd, int stringonly) { snprintf(buf, bufn, "ans=%s:%d", p, !xrandr); goto qry; } xrandr = 0; + xrandr_maybe = 0; if (xrandr_present) { rfbLog("remote_cmd: disable xrandr mode.\n"); if (orig != xrandr) { @@ -1956,6 +1957,7 @@ char *process_remote_cmd(char *cmd, int stringonly) { p += strlen("xrandr_mode:"); if (!strcmp("none", p)) { xrandr = 0; + xrandr_maybe = 0; } else { if (known_xrandr_mode(p)) { if (xrandr_mode) free(xrandr_mode); @@ -2866,7 +2868,7 @@ char *process_remote_cmd(char *cmd, int stringonly) { do_new_fb(1); } - } else if (!strcmp(p, "ncache_reset_rootpixmap")) { + } else if (!strcmp(p, "ncache_reset_rootpixmap") || !strcmp(p, "ncrp")) { if (query) { snprintf(buf, bufn, "ans=%s:%d", p, !ncache_xrootpmap); goto qry; |