From: Ian Jackson Date: Thu, 1 May 2008 13:07:19 +0000 (+0100) Subject: abolish vnc_dpy_refresh as in qemu upstream X-Git-Tag: xen-3.3.0-rc1~219 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ec8e0101ec0a20736f7e20e5928ba8cda41327b6;p=qemu-xen-4.6-testing.git abolish vnc_dpy_refresh as in qemu upstream --- diff --git a/vnc.c b/vnc.c index 6cfba55be..1cec4523b 100644 --- a/vnc.c +++ b/vnc.c @@ -819,7 +819,7 @@ static void vnc_update_client(void *opaque) { VncState *vs = opaque; - vs->ds->dpy_refresh(vs->ds); + vga_hw_update(); _vnc_update_client(vs); } @@ -831,11 +831,6 @@ static void vnc_timer_init(VncState *vs) } } -static void vnc_dpy_refresh(DisplayState *ds) -{ - vga_hw_update(); -} - static int vnc_listen_poll(void *opaque) { VncState *vs = opaque; @@ -2490,7 +2485,7 @@ void vnc_display_init(DisplayState *ds) vs->ds->dpy_resize = vnc_dpy_resize; vs->ds->dpy_colourdepth = vnc_dpy_colourdepth; vs->ds->dpy_setdata = vnc_dpy_setdata; - vs->ds->dpy_refresh = vnc_dpy_refresh; + vs->ds->dpy_refresh = NULL; vs->ds->width = 640; vs->ds->height = 400;