]> git.proxmox.com Git - mirror_qemu.git/commitdiff
ui: drop curor_hide global variable.
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 31 Jan 2020 11:36:10 +0000 (12:36 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Feb 2020 12:25:17 +0000 (13:25 +0100)
No users left.

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

index 6358a324a711cf872ba43df002f5e681413530d5..7956e9054ade0cf486fb3069ce3a7272e74cb03c 100644 (file)
@@ -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 0a13cf2b172481d73d4c8c086c05f84458ef0ce9..62efcd15c0bfe800676496cfd46f16be7eb3ad64 100644 (file)
--- 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;