aboutsummaryrefslogtreecommitdiff
path: root/vl.c
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 /vl.c
parent7027bdd77f7f5b8ce9572281b64b69680f109acf (diff)
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>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 7dcb0879c4..5419b3d682 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) {