diff options
author | runge <runge> | 2007-07-05 02:03:33 +0000 |
---|---|---|
committer | runge <runge> | 2007-07-05 02:03:33 +0000 |
commit | c4c92d3a36c99ccf4bfe9e97cff41b96f147ab6d (patch) | |
tree | 9cb68d30e54690ed8cdbb4ae236025f680dbb0a9 /x11vnc/x11vnc.c | |
parent | b2c291feea10854089aadd6c35a103d262b8a817 (diff) | |
download | libtdevnc-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.c | 5 |
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) { |