[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/7] qxl: fix cursor reset
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 3/7] qxl: fix cursor reset |
Date: |
Fri, 2 Nov 2012 10:35:15 +0100 |
When resetting the qxl cursor notify the qemu displaystate too.
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/qxl.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/qxl.c b/hw/qxl.c
index f19451b..063970d 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -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();
}
--
1.7.1
- [Qemu-devel] [PULL 0/7] spice patch queue, Gerd Hoffmann, 2012/11/02
- [Qemu-devel] [PATCH 3/7] qxl: fix cursor reset,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 2/7] hw/qxl: qxl_send_events: nop if stopped, Gerd Hoffmann, 2012/11/02
- [Qemu-devel] [PATCH 5/7] spice: switch to pixman, Gerd Hoffmann, 2012/11/02
- [Qemu-devel] [PATCH 1/7] hw/qxl: guest bug on primary create with stride %4 != 0, Gerd Hoffmann, 2012/11/02
- [Qemu-devel] [PATCH 7/7] spice: fix initialization order, Gerd Hoffmann, 2012/11/02
- [Qemu-devel] [PATCH 4/7] qxl: call dpy_gfx_resize when entering vga mode, Gerd Hoffmann, 2012/11/02
- [Qemu-devel] [PATCH 6/7] pflib: unused, remove it., Gerd Hoffmann, 2012/11/02
- Re: [Qemu-devel] [PULL 0/7] spice patch queue, Gerd Hoffmann, 2012/11/05
- Re: [Qemu-devel] [PULL 0/7] spice patch queue, Anthony Liguori, 2012/11/14