summaryrefslogtreecommitdiffstats
path: root/x11vnc/remote.c
diff options
context:
space:
mode:
authorrunge <runge>2007-01-09 04:55:37 +0000
committerrunge <runge>2007-01-09 04:55:37 +0000
commitc9e24e5b8b9dd903a393f6b6e2176545fa2c93a8 (patch)
tree70fa77b47f34edf3091d6eb0b7a9c19f99a529d7 /x11vnc/remote.c
parent5b607a444900246dfcc8497da4d8ef1e41bedda6 (diff)
downloadlibvncserver-c9e24e5b8b9dd903a393f6b6e2176545fa2c93a8.zip
libvncserver-c9e24e5b8b9dd903a393f6b6e2176545fa2c93a8.tar.gz
more speed and accuracy improvements to -ncache mode.
Diffstat (limited to 'x11vnc/remote.c')
-rw-r--r--x11vnc/remote.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c
index 64a6369..2b793d1 100644
--- a/x11vnc/remote.c
+++ b/x11vnc/remote.c
@@ -2733,6 +2733,7 @@ char *process_remote_cmd(char *cmd, int stringonly) {
rfbLog("remote_cmd: enabling mouse nodragging mode.\n");
show_dragging = 0;
+#ifndef NO_NCACHE
} else if (!strcmp(p, "ncache_cr")) {
if (query) {
snprintf(buf, bufn, "ans=%s:%d", p, ncache_copyrect);
@@ -2810,6 +2811,7 @@ char *process_remote_cmd(char *cmd, int stringonly) {
check_ncache(1,0);
}
}
+#endif
} else if (strstr(p, "wireframe_mode") == p) {
COLON_CHECK("wireframe_mode:")
OpenPOWER on IntegriCloud