diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-07 10:46:13 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-12 13:25:17 +0100 |
commit | 09aa82ee7aee476fd9fd51dd969d7a7cd13a2ef0 (patch) | |
tree | 4be85833589047783756fd0a6d2a5a1d6ee4ab7a /vl.c | |
parent | 7027bdd77f7f5b8ce9572281b64b69680f109acf (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |