Message ID | 20200922201028.uyy2malfqxkqbyxm@function (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ui: Fix default window_id value | expand |
diff --git a/ui/console.c b/ui/console.c index f8d7643fe4..beb733c833 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;