mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
input: make vnc use mouse mode notifiers
When we switch to absolute mode, we send out a notification (if the client supports it). Today, we only send this notification when the client sends us a mouse event and we're in the wrong mode. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
1aaee43cf7
commit
37c34d9d5d
2 changed files with 10 additions and 5 deletions
2
vnc.h
2
vnc.h
|
@ -168,6 +168,8 @@ struct VncState
|
|||
Buffer zlib_tmp;
|
||||
z_stream zlib_stream[4];
|
||||
|
||||
Notifier mouse_mode_notifier;
|
||||
|
||||
QTAILQ_ENTRY(VncState) next;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue