summaryrefslogtreecommitdiffstats
path: root/x11vnc/options.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/options.c
parent5b607a444900246dfcc8497da4d8ef1e41bedda6 (diff)
downloadlibtdevnc-c9e24e5b8b9dd903a393f6b6e2176545fa2c93a8.tar.gz
libtdevnc-c9e24e5b8b9dd903a393f6b6e2176545fa2c93a8.zip
more speed and accuracy improvements to -ncache mode.
Diffstat (limited to 'x11vnc/options.c')
-rw-r--r--x11vnc/options.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11vnc/options.c b/x11vnc/options.c
index 72d7de1..7a0fb91 100644
--- a/x11vnc/options.c
+++ b/x11vnc/options.c
@@ -195,8 +195,12 @@ int wireframe_in_progress = 0;
int wireframe_local = 1;
#ifndef NCACHE
+#ifdef NO_NCACHE
+#define NCACHE 0
+#else
#define NCACHE -12
#endif
+#endif
#ifdef MACOSX
int ncache = 0;
int ncache_pad = 24;
@@ -204,6 +208,7 @@ int ncache_pad = 24;
int ncache = NCACHE;
int ncache_pad = 0;
#endif
+int ncache_xrootpmap = 1;
int ncache0 = 0;
int ncache_copyrect = 0;
int ncache_wf_raises = 1;