aboutsummaryrefslogtreecommitdiff
path: root/chardev
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2021-05-19 07:39:36 +0200
committerGerd Hoffmann <kraxel@redhat.com>2021-05-21 09:42:44 +0200
commit56081919801f1a118983b3a500fb2270844ac8c2 (patch)
treeb1071c5e7d08c1e8be59b7c386e5c9e0d1413ec0 /chardev
parentde74a22cc82dd40d63af399b81e40f56c8a9c535 (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 'chardev')
-rw-r--r--chardev/char.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/chardev/char.c b/chardev/char.c
index a4ebfcc5ac..52c567e8ff 100644
--- a/chardev/char.c
+++ b/chardev/char.c
@@ -931,6 +931,9 @@ QemuOptsList qemu_chardev_opts = {
},{
.name = "logappend",
.type = QEMU_OPT_BOOL,
+ },{
+ .name = "mouse",
+ .type = QEMU_OPT_BOOL,
#ifdef CONFIG_LINUX
},{
.name = "tight",