aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-01-31 12:36:10 +0100
committerGerd Hoffmann <kraxel@redhat.com>2020-02-12 13:25:17 +0100
commit9b6701290af7abc789e621d2aff527c75ffd82f1 (patch)
tree10be6f0860ab8228ec5ef4b7bb47b62bfcfe5299
parent9cfca0b937d2b947e6a821436180f7bcea208f66 (diff)
downloadqemu-9b6701290af7abc789e621d2aff527c75ffd82f1.zip
qemu-9b6701290af7abc789e621d2aff527c75ffd82f1.tar.gz
qemu-9b6701290af7abc789e621d2aff527c75ffd82f1.tar.bz2
ui: drop curor_hide global variable.
No users left. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
-rw-r--r--include/sysemu/sysemu.h1
-rw-r--r--vl.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 6358a32..7956e90 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 0a13cf2..62efcd1 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;