From 703bc68ff569ac06905fa91d6db02364374522e8 Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Mon, 3 Aug 2009 10:54:05 +0100 Subject: a single vnc timer to refresh the screen This patch removes the timer per vnc client connected and adds a single timer to update all the possible clients. We call vga_hw_update only once in the timer handler. Signed-off-by: Stefano Stabellini Signed-off-by: Anthony Liguori Message-Id: --- vnc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnc.h') diff --git a/vnc.h b/vnc.h index 3ae95f3..a35b378 100644 --- a/vnc.h +++ b/vnc.h @@ -87,6 +87,7 @@ typedef struct VncDisplay VncDisplay; struct VncDisplay { + QEMUTimer *timer; int lsock; DisplayState *ds; VncState *clients; @@ -112,7 +113,6 @@ struct VncSurface struct VncState { - QEMUTimer *timer; int csock; DisplayState *ds; -- cgit v1.1