diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2010-05-04 08:28:13 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-05-04 08:44:29 -0500 |
commit | 0684bf1b0fa1823bf0614dd8d1c8b10cc0ef3f35 (patch) | |
tree | 5c2869c30c461e4d8ed20116eaac9f533ce0106d /vnc.c | |
parent | ec5f92ce6ac8ec09056be77e03c941be188648fa (diff) |
vnc: make sure to send pointer type change event on SetEncodings
Commit 37c34d9d5d87ea9d51760310c8863b82cb8c055a introduced a regression when
using relative mouse mode with a client that understands the PointerTypeChange
pseudo-encoding.
Reported-by: Marcelo Tosatti <mtosatti@redhat.com>
Reported-by: Gerhard Wiesinger <lists@wiesinger.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vnc.c')
-rw-r--r-- | vnc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1642,6 +1642,8 @@ static void set_encodings(VncState *vs, int32_t *encodings, size_t n_encodings) break; } } + + check_pointer_type_change(&vs->mouse_mode_notifier); } static void set_pixel_conversion(VncState *vs) |