diff options
author | runge <runge> | 2007-01-09 04:55:37 +0000 |
---|---|---|
committer | runge <runge> | 2007-01-09 04:55:37 +0000 |
commit | c9e24e5b8b9dd903a393f6b6e2176545fa2c93a8 (patch) | |
tree | 70fa77b47f34edf3091d6eb0b7a9c19f99a529d7 /x11vnc/x11vnc.c | |
parent | 5b607a444900246dfcc8497da4d8ef1e41bedda6 (diff) | |
download | libtdevnc-c9e24e5b8b9dd903a393f6b6e2176545fa2c93a8.tar.gz libtdevnc-c9e24e5b8b9dd903a393f6b6e2176545fa2c93a8.zip |
more speed and accuracy improvements to -ncache mode.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r-- | x11vnc/x11vnc.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 1ee2f57..76de257 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -1463,6 +1463,8 @@ char msg[] = "\n" " x11vnc -ncache 0 ...\n" "\n" +"Your current setting is: -ncache %d\n" +"\n" "The feature needs additional testing because we want to have x11vnc\n" "performance enhancements on by default. Otherwise, only a relative few\n" "would notice and use the -ncache option (e.g. the wireframe and scroll\n" @@ -1483,8 +1485,11 @@ char msg[] = if (nofb) { return; } +#ifdef NO_NCACHE + return; +#endif - fprintf(stderr, "%s", msg); + fprintf(stderr, msg, ncache); } |