Commit 958c2bce authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

qxl: fix cursor reset



When resetting the qxl cursor notify the qemu displaystate too.

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 511aefb0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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();
}