ui: deprecate legacy -show-cursor option

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Gerd Hoffmann 2020-01-31 12:56:03 +01:00
parent 9b6701290a
commit 2811ce368e
2 changed files with 7 additions and 0 deletions

2
vl.c
View file

@ -3562,6 +3562,8 @@ int main(int argc, char **argv, char **envp)
no_shutdown = 1;
break;
case QEMU_OPTION_show_cursor:
warn_report("The -show-cursor option is deprecated, "
"use -display {sdl,gtk},show-cursor=on instead");
dpy.has_show_cursor = true;
dpy.show_cursor = true;
break;