[PATCH 4/5] ui: wire up legacy -show-cursor option
Ján Tomko
jtomko at redhat.com
Wed Feb 5 22:43:53 UTC 2020
On Wed, Feb 05, 2020 at 12:03:55PM +0100, Gerd Hoffmann wrote:
>Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
>---
> include/sysemu/sysemu.h | 1 -
> vl.c | 4 ++--
> 2 files changed, 2 insertions(+), 3 deletions(-)
>
>diff --git a/vl.c b/vl.c
>index 24951b51a94b..0db0aa0fa040 100644
>--- a/vl.c
>+++ b/vl.c
>@@ -3553,7 +3552,8 @@ int main(int argc, char **argv, char **envp)
> no_shutdown = 1;
> break;
> case QEMU_OPTION_show_cursor:
>- cursor_hide = 0;
Since commit 13aefd303cf996c2d183e94082413885bf1d15bf
cursor_hide is also used in ui/cocoa.m
Jano
>+ dpy.has_show_cursor = true;
>+ dpy.show_cursor = true;
> break;
> case QEMU_OPTION_uuid:
> if (qemu_uuid_parse(optarg, &qemu_uuid) < 0) {
>--
>2.18.1
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200205/ec4140a6/attachment-0001.sig>
More information about the libvir-list
mailing list