aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-02-07 10:46:13 +0100
committerGerd Hoffmann <kraxel@redhat.com>2020-02-12 13:25:17 +0100
commit09aa82ee7aee476fd9fd51dd969d7a7cd13a2ef0 (patch)
tree4be85833589047783756fd0a6d2a5a1d6ee4ab7a
parent7027bdd77f7f5b8ce9572281b64b69680f109acf (diff)
downloadqemu-09aa82ee7aee476fd9fd51dd969d7a7cd13a2ef0.zip
qemu-09aa82ee7aee476fd9fd51dd969d7a7cd13a2ef0.tar.gz
qemu-09aa82ee7aee476fd9fd51dd969d7a7cd13a2ef0.tar.bz2
ui: wire up legacy -show-cursor option
Set new show-cursor display option when legacy -show-cursor is specified on the command line. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 7dcb087..5419b3d 100644
--- a/vl.c
+++ b/vl.c
@@ -3554,6 +3554,8 @@ int main(int argc, char **argv, char **envp)
break;
case QEMU_OPTION_show_cursor:
cursor_hide = 0;
+ dpy.has_show_cursor = true;
+ dpy.show_cursor = true;
break;
case QEMU_OPTION_uuid:
if (qemu_uuid_parse(optarg, &qemu_uuid) < 0) {