From c522d0e2dee3774884a731691a702126901a1a88 Mon Sep 17 00:00:00 2001 From: aliguori Date: Fri, 20 Mar 2009 15:59:24 +0000 Subject: vnc: throttle screen updates. (Gerd Hoffmann) This patch makes the vnc server code skip screen refreshes in case there is data in the output buffer. This reduces the refresh rate to throttle the bandwidth needed in case the network link is saturated. Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6862 c046a42c-6fe2-441c-8c8c-71466251a162 --- vnc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vnc.h') diff --git a/vnc.h b/vnc.h index ce9aa49..3ae95f3 100644 --- a/vnc.h +++ b/vnc.h @@ -121,6 +121,7 @@ struct VncState VncDisplay *vd; int need_update; + int force_update; uint32_t features; int absolute; int last_x; -- cgit v1.1