aboutsummaryrefslogtreecommitdiff
path: root/vnc.h
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2009-08-03 10:54:05 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:30 -0500
commit703bc68ff569ac06905fa91d6db02364374522e8 (patch)
tree367fab8fa0510a69dc7c98c35ac27ad8ddbeb2ac /vnc.h
parentc66b57fc144345e7f4b5f2bfc6a389d57d927647 (diff)
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 <stefano.stabellini@eu.citrix.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
Diffstat (limited to 'vnc.h')
-rw-r--r--vnc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnc.h b/vnc.h
index 3ae95f3d74..a35b3786ab 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;