aboutsummaryrefslogtreecommitdiff
path: root/vnc.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-14 21:45:55 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-14 21:45:55 +0000
commit9f60ad507590505157277bc157f00f4bbe89542f (patch)
tree28b1704733e0a204c5416cf7e74cfc836538d2b0 /vnc.c
parente5c9a13e2670b1cf23faa4b7793b3eae4ad428a5 (diff)
downloadqemu-9f60ad507590505157277bc157f00f4bbe89542f.zip
qemu-9f60ad507590505157277bc157f00f4bbe89542f.tar.gz
qemu-9f60ad507590505157277bc157f00f4bbe89542f.tar.bz2
Add a missing vga_hw_update() when accepting a connection (Anders Melchiorsen).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3919 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vnc.c')
-rw-r--r--vnc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vnc.c b/vnc.c
index b5921a3..64889de 100644
--- a/vnc.c
+++ b/vnc.c
@@ -1904,6 +1904,9 @@ static void vnc_listen_read(void *opaque)
struct sockaddr_in addr;
socklen_t addrlen = sizeof(addr);
+ /* Catch-up */
+ vga_hw_update();
+
vs->csock = accept(vs->lsock, (struct sockaddr *)&addr, &addrlen);
if (vs->csock != -1) {
VNC_DEBUG("New client on socket %d\n", vs->csock);