[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 08/10] ui: drop curor_hide global variable.
From: |
Gerd Hoffmann |
Subject: |
[PULL 08/10] ui: drop curor_hide global variable. |
Date: |
Wed, 12 Feb 2020 17:18:33 +0100 |
No users left.
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Ján Tomko <address@hidden>
---
include/sysemu/sysemu.h | 1 -
vl.c | 2 --
2 files changed, 3 deletions(-)
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 6358a324a711..7956e9054ade 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -41,7 +41,6 @@ extern const char *keyboard_layout;
extern int win2k_install_hack;
extern int alt_grab;
extern int ctrl_grab;
-extern int cursor_hide;
extern int graphic_rotate;
extern int no_shutdown;
extern int old_param;
diff --git a/vl.c b/vl.c
index 0a13cf2b1724..62efcd15c0bf 100644
--- a/vl.c
+++ b/vl.c
@@ -168,7 +168,6 @@ int no_hpet = 0;
int fd_bootchk = 1;
static int no_reboot;
int no_shutdown = 0;
-int cursor_hide = 1;
int graphic_rotate = 0;
const char *watchdog;
QEMUOptionRom option_rom[MAX_OPTION_ROMS];
@@ -3563,7 +3562,6 @@ int main(int argc, char **argv, char **envp)
no_shutdown = 1;
break;
case QEMU_OPTION_show_cursor:
- cursor_hide = 0;
dpy.has_show_cursor = true;
dpy.show_cursor = true;
break;
--
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 <=
- [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, 2020/02/12
- [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