From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 3/7] qxl: fix cursor reset
Date: Fri, 2 Nov 2012 10:35:15 +0100 [thread overview]
Message-ID: <1351848919-10388-4-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1351848919-10388-1-git-send-email-kraxel@redhat.com>
When resetting the qxl cursor notify the qemu displaystate too.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
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
next prev parent reply other threads:[~2012-11-02 9:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-02 9:35 [Qemu-devel] [PULL 0/7] spice patch queue Gerd Hoffmann
2012-11-02 9:35 ` [Qemu-devel] [PATCH 1/7] hw/qxl: guest bug on primary create with stride %4 != 0 Gerd Hoffmann
2012-11-02 9:35 ` [Qemu-devel] [PATCH 2/7] hw/qxl: qxl_send_events: nop if stopped Gerd Hoffmann
2012-11-02 9:35 ` Gerd Hoffmann [this message]
2012-11-02 9:35 ` [Qemu-devel] [PATCH 4/7] qxl: call dpy_gfx_resize when entering vga mode Gerd Hoffmann
2012-11-02 9:35 ` [Qemu-devel] [PATCH 5/7] spice: switch to pixman Gerd Hoffmann
2012-11-02 9:35 ` [Qemu-devel] [PATCH 6/7] pflib: unused, remove it Gerd Hoffmann
2012-11-02 9:35 ` [Qemu-devel] [PATCH 7/7] spice: fix initialization order Gerd Hoffmann
2012-11-05 12:29 ` [Qemu-devel] [PULL 0/7] spice patch queue Gerd Hoffmann
2012-11-14 16:21 ` Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1351848919-10388-4-git-send-email-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).