summaryrefslogtreecommitdiffstats
path: root/ui/console.c
diff options
context:
space:
mode:
authorPeter Maydell2020-10-14 14:56:06 +0200
committerPeter Maydell2020-10-14 14:56:06 +0200
commit57c98ea9acdcef5021f5671efa6475a5794a51c4 (patch)
tree4cb23c03c0eb6be23d365acf566750d6d1a70ab2 /ui/console.c
parentMerge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-for-5.2-pul... (diff)
parentui: Fix default window_id value (diff)
downloadqemu-57c98ea9acdcef5021f5671efa6475a5794a51c4.tar.gz
qemu-57c98ea9acdcef5021f5671efa6475a5794a51c4.tar.xz
qemu-57c98ea9acdcef5021f5671efa6475a5794a51c4.zip
Merge remote-tracking branch 'remotes/kraxel/tags/ui-20201014-pull-request' into staging
ui: fixes for sdl, curses, vnc, input-linux. # gpg: Signature made Wed 14 Oct 2020 09:21:35 BST # gpg: using RSA key 4CB6D8EED3E87138 # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full] # gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" [full] # gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full] # Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138 * remotes/kraxel/tags/ui-20201014-pull-request: ui: Fix default window_id value input-linux: Reset il->fd handler before closing it SDL: enable OpenGL context creation vnc-stubs: Allow -vnc none configure: Fixes ncursesw detection under msys2/mingw by convert them to meson win32: Simplify gmtime_r detection not depends on if _POSIX_C_SOURCE are defined on msys2/mingw curses: Fixes curses compiling errors. curses: Fixes compiler error that complain don't have langinfo.h on msys2/mingw qemu-edid: drop cast Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'ui/console.c')
-rw-r--r--ui/console.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/console.c b/ui/console.c
index 54a74c0b16..820e408170 100644
--- a/ui/console.c
+++ b/ui/console.c
@@ -1310,6 +1310,7 @@ static QemuConsole *new_console(DisplayState *ds, console_type_t console_type,
}
s->ds = ds;
s->console_type = console_type;
+ s->window_id = -1;
if (QTAILQ_EMPTY(&consoles)) {
s->index = 0;