qxl-render: fix broken vnc+spice since commit f934493
commit06ddea49f8127bd055dbc7e83df896d9311c88cc
authorAlon Levy <alevy@redhat.com>
Wed, 18 Apr 2012 09:27:00 +0000 (18 12:27 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 18 Apr 2012 10:21:53 +0000 (18 12:21 +0200)
treefc50ddaf695e4c19e21e6b7eee43cc685e6803be
parent79ce3567017e32ac96f7de7a8b04ed75ee710f89
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>
hw/qxl-render.c