summaryrefslogtreecommitdiffstats
path: root/x11vnc/options.c
diff options
context:
space:
mode:
authorrunge <runge>2008-06-01 21:13:35 +0000
committerrunge <runge>2008-06-01 21:13:35 +0000
commitc63fd348444c812d27a9472d308942f6accbdf91 (patch)
tree7361cdb9574bd1e1e83cfe3948dae4e5992c8e7a /x11vnc/options.c
parent65b42bb85354cce814316a646a4a5ed6025a18e3 (diff)
downloadlibtdevnc-c63fd348444c812d27a9472d308942f6accbdf91.tar.gz
libtdevnc-c63fd348444c812d27a9472d308942f6accbdf91.zip
x11vnc: lower waitms and defer if framebuffer reads are fast (> 100MB/s)
Diffstat (limited to 'x11vnc/options.c')
-rw-r--r--x11vnc/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11vnc/options.c b/x11vnc/options.c
index 5596d5f..3aef224 100644
--- a/x11vnc/options.c
+++ b/x11vnc/options.c
@@ -353,6 +353,7 @@ int flip_byte_order = 0; /* sometimes needed when using_shm = 0 */
* poll times of 10-35ms, so maybe this value cuts the idle load by 2 or so.
*/
int waitms = 20;
+int got_waitms = 0;
double wait_ui = 2.0;
double slow_fb = 0.0;
double xrefresh = 0.0;