[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 1/5] vnc: send cursor when a new client is connecting
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 1/5] vnc: send cursor when a new client is connecting |
Date: |
Wed, 9 Mar 2016 10:04:33 +0100 |
From: Frediano Ziglio <address@hidden>
If you have hardware cursor and you are reconnecting the VNC client
you need to send the cursor. Failing to do so make the cursor invisible
till is changed.
Signed-off-by: Frediano Ziglio <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
---
ui/vnc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ui/vnc.c b/ui/vnc.c
index 6cd6314..729f630 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -2046,6 +2046,9 @@ static void set_encodings(VncState *vs, int32_t
*encodings, size_t n_encodings)
break;
case VNC_ENCODING_RICH_CURSOR:
vs->features |= VNC_FEATURE_RICH_CURSOR_MASK;
+ if (vs->vd->cursor) {
+ vnc_cursor_define(vs);
+ }
break;
case VNC_ENCODING_EXT_KEY_EVENT:
send_ext_key_event_ack(vs);
--
1.8.3.1
- [Qemu-devel] [PULL 0/5] ui: add linux evdev support, vnc and console fixes, Gerd Hoffmann, 2016/03/09
- [Qemu-devel] [PULL 4/5] input-linux: add switch to enable auto-repeat events, Gerd Hoffmann, 2016/03/09
- [Qemu-devel] [PULL 5/5] ui/console: add escape sequence \e[5, 6n, Gerd Hoffmann, 2016/03/09
- [Qemu-devel] [PULL 3/5] input-linux: add option to toggle grab on all devices, Gerd Hoffmann, 2016/03/09
- [Qemu-devel] [PULL 2/5] input: linux evdev support, Gerd Hoffmann, 2016/03/09
- [Qemu-devel] [PULL 1/5] vnc: send cursor when a new client is connecting,
Gerd Hoffmann <=
- Re: [Qemu-devel] [PULL 0/5] ui: add linux evdev support, vnc and console fixes, Peter Maydell, 2016/03/10