summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc.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/x11vnc.c
parentb2c291feea10854089aadd6c35a103d262b8a817 (diff)
downloadlibtdevnc-c4c92d3a36c99ccf4bfe9e97cff41b96f147ab6d.tar.gz
libtdevnc-c4c92d3a36c99ccf4bfe9e97cff41b96f147ab6d.zip
x11vnc: -debug_ncache, fix big fonts in tkx11vnc.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r--x11vnc/x11vnc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c
index 56ad395..cd331ea 100644
--- a/x11vnc/x11vnc.c
+++ b/x11vnc/x11vnc.c
@@ -2307,6 +2307,8 @@ int main(int argc, char* argv[]) {
} else if (!strcmp(arg, "-ncache_pad") || !strcmp(arg, "-nc_pad")) {
CHECK_ARGC
ncache_pad = atoi(argv[++i]);
+ } else if (!strcmp(arg, "-debug_ncache")) {
+ ncdb++;
#endif
} else if (!strcmp(arg, "-wireframe")
|| !strcmp(arg, "-wf")) {
@@ -3670,6 +3672,9 @@ int main(int argc, char* argv[]) {
rfbLog(" Note: '-scale' is on and this can cause more problems.\n");
}
}
+ if (ncache && getenv("NCACHE_DEBUG")) {
+ ncdb = 1;
+ }
/* check for OS with small shm limits */
if (using_shm && ! single_copytile) {