From 9f60ad507590505157277bc157f00f4bbe89542f Mon Sep 17 00:00:00 2001 From: balrog Date: Mon, 14 Jan 2008 21:45:55 +0000 Subject: [PATCH] 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 --- vnc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vnc.c b/vnc.c index b5921a3122..64889de5a6 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);