summaryrefslogtreecommitdiffstats
path: root/x11vnc/remote.c
diff options
context:
space:
mode:
authorrunge <runge>2007-07-05 02:03:33 +0000
committerrunge <runge>2007-07-05 02:03:33 +0000
commitc4c92d3a36c99ccf4bfe9e97cff41b96f147ab6d (patch)
tree9cb68d30e54690ed8cdbb4ae236025f680dbb0a9 /x11vnc/remote.c
parentb2c291feea10854089aadd6c35a103d262b8a817 (diff)
downloadlibtdevnc-c4c92d3a36c99ccf4bfe9e97cff41b96f147ab6d.tar.gz
libtdevnc-c4c92d3a36c99ccf4bfe9e97cff41b96f147ab6d.zip
x11vnc: -debug_ncache, fix big fonts in tkx11vnc.
Diffstat (limited to 'x11vnc/remote.c')
-rw-r--r--x11vnc/remote.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c
index 08455e4..72b2221 100644
--- a/x11vnc/remote.c
+++ b/x11vnc/remote.c
@@ -2940,6 +2940,20 @@ char *process_remote_cmd(char *cmd, int stringonly) {
check_ncache(1,0);
}
}
+ } else if (!strcmp(p, "debug_ncache")) {
+ if (query) {
+ snprintf(buf, bufn, "ans=%s:%d", p, ncdb);
+ goto qry;
+ }
+ ncdb = 1;
+ rfbLog("remote_cmd: enabled debug_ncache\n");
+ } else if (!strcmp(p, "nodebug_ncache")) {
+ if (query) {
+ snprintf(buf, bufn, "ans=%s:%d", p, !ncdb);
+ goto qry;
+ }
+ ncdb = 0;
+ rfbLog("remote_cmd: disabled debug_ncache\n");
#endif
} else if (strstr(p, "wireframe_mode") == p) {