ui/sdl: switch to new show-cursor option
commit86a088e62454995c04a794d43661a549fd293f3b
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 31 Jan 2020 11:35:21 +0000 (31 12:35 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Feb 2020 12:25:17 +0000 (12 13:25 +0100)
treea2f43fb7585c987ed54b5a14603841de5e22e473
parent09aa82ee7aee476fd9fd51dd969d7a7cd13a2ef0
ui/sdl: switch to new show-cursor option

Use DisplayOpts settings instead of cursor_hide global variable.
Also make "-display sdl,show-cursor=on" work.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
ui/sdl2.c
vl.c