mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-20 19:32:19 -07:00
vnc: make sure to send pointer type change event on SetEncodings
Commit 37c34d9d5d 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>
This commit is contained in:
parent
ec5f92ce6a
commit
0684bf1b0f
1 changed files with 2 additions and 0 deletions
2
vnc.c
2
vnc.c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue