diff --git a/ui/vnc.c b/ui/vnc.c index 8ee39bc030ae685e76c6a98ae1e843d67df6c425..bdec33a470fab84efa8ce10082f547689668335c 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -1936,7 +1936,10 @@ static void pixel_format_message (VncState *vs) { static void vnc_dpy_setdata(DisplayState *ds) { - /* We don't have to do anything */ + VncDisplay *vd = ds->opaque; + + *(vd->guest.ds) = *(ds->surface); + vnc_dpy_update(ds, 0, 0, ds_get_width(ds), ds_get_height(ds)); } static void vnc_colordepth(VncState *vs)