diff options
author | Alon Levy <alevy@redhat.com> | 2012-04-18 12:27:00 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-04-18 12:21:53 +0200 |
commit | 06ddea49f8127bd055dbc7e83df896d9311c88cc (patch) | |
tree | fc50ddaf695e4c19e21e6b7eee43cc685e6803be /hw/qxl-render.c | |
parent | 79ce3567017e32ac96f7de7a8b04ed75ee710f89 (diff) | |
download | qemu-06ddea49f8127bd055dbc7e83df896d9311c88cc.zip qemu-06ddea49f8127bd055dbc7e83df896d9311c88cc.tar.gz qemu-06ddea49f8127bd055dbc7e83df896d9311c88cc.tar.bz2 |
qxl-render: fix broken vnc+spice since commit f934493
Notify any listeners such as vnc that the displaysurface has been
changed, otherwise they will segfault when first accessing the freed old
displaysurface data.
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/qxl-render.c')
-rw-r--r-- | hw/qxl-render.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/qxl-render.c b/hw/qxl-render.c index 28ab182..f7f1bfd 100644 --- a/hw/qxl-render.c +++ b/hw/qxl-render.c @@ -127,6 +127,7 @@ static void qxl_render_update_area_unlocked(PCIQXLDevice *qxl) qxl->guest_primary.surface.width, qxl->guest_primary.surface.height); } + dpy_resize(vga->ds); } for (i = 0; i < qxl->num_dirty_rects; i++) { if (qemu_spice_rect_is_empty(qxl->dirty+i)) { |