From 6a6d26a74701179672d59bfd153cc1a2e92e96bd Mon Sep 17 00:00:00 2001 From: runge Date: Wed, 5 Sep 2007 03:39:51 +0000 Subject: x11vnc: -autoport, -finddpy, -xdummy. watch xrandr events. check_redir_services() utilities for Terminal services. Improve Xdummy. --- x11vnc/remote.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'x11vnc/remote.c') 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; -- cgit v1.2.1