diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-14 22:17:44 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-11-05 11:49:22 +0100 |
commit | 958c2bceba06696e9c223498aaf81d06ce95f608 (patch) | |
tree | 1a6d3875663487a3520ae5ca71b01073b0a8afff /hw | |
parent | 511aefb0c60e3063ead76d4ba6aabf619eed18ef (diff) |
qxl: fix cursor reset
When resetting the qxl cursor notify the qemu displaystate too.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/qxl.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -293,6 +293,10 @@ void qxl_spice_reset_cursor(PCIQXLDevice *qxl) qemu_mutex_lock(&qxl->track_lock); qxl->guest_cursor = 0; qemu_mutex_unlock(&qxl->track_lock); + if (qxl->ssd.cursor) { + cursor_put(qxl->ssd.cursor); + } + qxl->ssd.cursor = cursor_builtin_hidden(); } |