Commit 9f60ad507590505157277bc157f00f4bbe89542f

Authored by balrog
1 parent e5c9a13e

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
Showing 1 changed file with 3 additions and 0 deletions
... ... @@ -1904,6 +1904,9 @@ static void vnc_listen_read(void *opaque)
1904 1904 struct sockaddr_in addr;
1905 1905 socklen_t addrlen = sizeof(addr);
1906 1906  
  1907 + /* Catch-up */
  1908 + vga_hw_update();
  1909 +
1907 1910 vs->csock = accept(vs->lsock, (struct sockaddr *)&addr, &addrlen);
1908 1911 if (vs->csock != -1) {
1909 1912 VNC_DEBUG("New client on socket %d\n", vs->csock);
... ...