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
This commit is contained in:
parent
e5c9a13e26
commit
9f60ad5075
3
vnc.c
3
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);
|
||||
|
Loading…
Reference in New Issue
Block a user