projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
511aefb
)
qxl: fix cursor reset
author
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 14 Sep 2012 20:17:44 +0000
(22:17 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 5 Nov 2012 10:49:22 +0000
(11:49 +0100)
When resetting the qxl cursor notify the qemu displaystate too.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qxl.c
patch
|
blob
|
history
diff --git
a/hw/qxl.c
b/hw/qxl.c
index f19451bd6fcbb6cb0969eff0caeb7125c1bd76ca..063970dc2875b7268d60146c03c9f42b8e7724cb 100644
(file)
--- 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();
}