[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/5] ui: wire up legacy -show-cursor option
From: |
Ján Tomko |
Subject: |
Re: [PATCH 4/5] ui: wire up legacy -show-cursor option |
Date: |
Wed, 5 Feb 2020 23:43:53 +0100 |
On Wed, Feb 05, 2020 at 12:03:55PM +0100, Gerd Hoffmann wrote:
Signed-off-by: Gerd Hoffmann <address@hidden>
---
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
signature.asc
Description: PGP signature
- [PATCH 1/5] ui: add show-cursor option, (continued)
- [PATCH 1/5] ui: add show-cursor option, Gerd Hoffmann, 2020/02/05
- [PATCH 2/5] ui/gtk: implement show-cursor option, Gerd Hoffmann, 2020/02/05
- [PATCH 5/5] ui: deprecate legacy -show-cursor option, Gerd Hoffmann, 2020/02/05
- [PATCH 3/5] ui/sdl: implement show-cursor option, Gerd Hoffmann, 2020/02/05
- [PATCH 4/5] ui: wire up legacy -show-cursor option, Gerd Hoffmann, 2020/02/05
- Re: [PATCH 4/5] ui: wire up legacy -show-cursor option,
Ján Tomko <=