[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 04/10] ui: wire up legacy -show-cursor option
From: |
Gerd Hoffmann |
Subject: |
[PULL 04/10] ui: wire up legacy -show-cursor option |
Date: |
Wed, 12 Feb 2020 17:18:29 +0100 |
Set new show-cursor display option when legacy -show-cursor
is specified on the command line.
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Ján Tomko <address@hidden>
---
vl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/vl.c b/vl.c
index 7dcb0879c497..5419b3d68200 100644
--- a/vl.c
+++ b/vl.c
@@ -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) {
--
2.18.2
- [PULL 00/10] Ui 20200212 patches, Gerd Hoffmann, 2020/02/12
- [PULL 01/10] ui/gtk: Update gd_refresh_rate_millihz() to handle VirtualConsole, Gerd Hoffmann, 2020/02/12
- [PULL 08/10] ui: drop curor_hide global variable., Gerd Hoffmann, 2020/02/12
- [PULL 10/10] ui/cocoa: Drop workarounds for pre-10.12 OSX, Gerd Hoffmann, 2020/02/12
- [PULL 06/10] ui/cocoa: switch to new show-cursor option, Gerd Hoffmann, 2020/02/12
- [PULL 03/10] ui: add show-cursor option, Gerd Hoffmann, 2020/02/12
- [PULL 04/10] ui: wire up legacy -show-cursor option,
Gerd Hoffmann <=
- [PULL 05/10] ui/sdl: switch to new show-cursor option, Gerd Hoffmann, 2020/02/12
- [PULL 02/10] ui/gtk: Fix gd_refresh_rate_millihz() when widget window is not realized, Gerd Hoffmann, 2020/02/12
- [PULL 09/10] ui: deprecate legacy -show-cursor option, Gerd Hoffmann, 2020/02/12
- [PULL 07/10] ui/gtk: implement show-cursor option, Gerd Hoffmann, 2020/02/12
- Re: [PULL 00/10] Ui 20200212 patches, Peter Maydell, 2020/02/13