aboutsummaryrefslogtreecommitdiff
path: root/vnc.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-03-10 09:38:29 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2010-03-19 15:27:38 -0500
commit37c34d9d5d87ea9d51760310c8863b82cb8c055a (patch)
tree9453ad7d47811b80ef5e0da11d1920cdba8d494f /vnc.h
parent1aaee43cf7a43ca8e7f12883ee7e3a35fe5eb84c (diff)
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>
Diffstat (limited to 'vnc.h')
-rw-r--r--vnc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vnc.h b/vnc.h
index a4211ae687..0a7487bdb2 100644
--- a/vnc.h
+++ b/vnc.h
@@ -168,6 +168,8 @@ struct VncState
Buffer zlib_tmp;
z_stream zlib_stream[4];
+ Notifier mouse_mode_notifier;
+
QTAILQ_ENTRY(VncState) next;
};