diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-19 07:39:36 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-21 09:42:44 +0200 |
commit | 56081919801f1a118983b3a500fb2270844ac8c2 (patch) | |
tree | b1071c5e7d08c1e8be59b7c386e5c9e0d1413ec0 /qapi | |
parent | de74a22cc82dd40d63af399b81e40f56c8a9c535 (diff) |
ui/vdagent: add mouse support
This patch adds support for mouse messages to the vdagent
implementation. This can be enabled/disabled using the new
'mouse' parameter for the vdagent chardev. Default is on.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-id: 20210519053940.1888907-1-kraxel@redhat.com
Message-Id: <20210519053940.1888907-6-kraxel@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/char.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qapi/char.json b/qapi/char.json index 990801e642..5711e8c60a 100644 --- a/qapi/char.json +++ b/qapi/char.json @@ -395,11 +395,13 @@ # # Configuration info for qemu vdagent implementation. # +# @mouse: enable/disable mouse, default is enabled. +# # Since: 6.1 # ## { 'struct': 'ChardevQemuVDAgent', - 'data': { }, + 'data': { '*mouse': 'bool' }, 'base': 'ChardevCommon', 'if': 'defined(CONFIG_SPICE_PROTOCOL)' } |