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:
Anthony Liguori 2010-03-10 09:38:29 -06:00
parent 1aaee43cf7
commit 37c34d9d5d
2 changed files with 10 additions and 5 deletions

2
vnc.h
View file

@ -168,6 +168,8 @@ struct VncState
Buffer zlib_tmp;
z_stream zlib_stream[4];
Notifier mouse_mode_notifier;
QTAILQ_ENTRY(VncState) next;
};