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>
This commit is contained in:
Gerd Hoffmann 2020-02-07 10:46:13 +01:00
parent 7027bdd77f
commit 09aa82ee7a

2
vl.c
View file

@ -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) {