diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2009-08-03 10:54:05 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 13:05:30 -0500 |
commit | 703bc68ff569ac06905fa91d6db02364374522e8 (patch) | |
tree | 367fab8fa0510a69dc7c98c35ac27ad8ddbeb2ac /vnc.h | |
parent | c66b57fc144345e7f4b5f2bfc6a389d57d927647 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |