summaryrefslogtreecommitdiffstats
path: root/x11vnc/options.c
diff options
context:
space:
mode:
authorrunge <runge>2007-05-22 01:24:48 +0000
committerrunge <runge>2007-05-22 01:24:48 +0000
commite3fc6fc68c7cd64c7cbcc2a86082b87411f9396d (patch)
tree603dd84dad7eca4d896b9c9a7120e0b88d337030 /x11vnc/options.c
parente9353e8d2919a6f2947602cb3c42317d82fb26d8 (diff)
downloadlibtdevnc-e3fc6fc68c7cd64c7cbcc2a86082b87411f9396d.tar.gz
libtdevnc-e3fc6fc68c7cd64c7cbcc2a86082b87411f9396d.zip
x11vnc: set things up (NCACHE = -1) to not have -ncache on by default.
Diffstat (limited to 'x11vnc/options.c')
-rw-r--r--x11vnc/options.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11vnc/options.c b/x11vnc/options.c
index 2ccc750..5d052b6 100644
--- a/x11vnc/options.c
+++ b/x11vnc/options.c
@@ -206,9 +206,11 @@ int wireframe_local = 1;
#ifdef NO_NCACHE
#define NCACHE 0
#else
-#define NCACHE -12
+#define xxNCACHE -12
+#define NCACHE -1
#endif
#endif
+
#ifdef MACOSX
int ncache = 0;
int ncache_pad = 24;
@@ -216,6 +218,7 @@ int ncache_pad = 24;
int ncache = NCACHE;
int ncache_pad = 0;
#endif
+
#ifndef NCACHE_XROOTPMAP
#define NCACHE_XROOTPMAP 1
#endif