projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1774227
)
ui/console: console_select() regardless of have_gfx
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Wed, 30 Aug 2023 09:37:40 +0000
(13:37 +0400)
committer
Patchew Applier
<no-reply@patchew.org>
Fri, 1 Sep 2023 17:21:04 +0000
(17:21 +0000)
Even if we don't have a gfx listener, we should call
displaychangelistener_display_console() which handle that case correctly.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <
20230830093843
.
3531473
-7-marcandre.lureau@redhat.com>
ui/console.c
patch
|
blob
|
history
diff --git
a/ui/console.c
b/ui/console.c
index bec2d1a40a7ab521e911f7e20558cfb9fe86d49b..14717a6f4dc34f2108a7f0b2a498ecc88d7bdc97 100644
(file)
--- a/
ui/console.c
+++ b/
ui/console.c
@@
-1047,13
+1047,11
@@
void console_select(unsigned int index)
DisplayState *ds = s->ds;
active_console = s;
- if (ds->have_gfx) {
- QLIST_FOREACH(dcl, &ds->listeners, next) {
- if (dcl->con != NULL) {
- continue;
- }
- displaychangelistener_display_console(dcl, s, NULL);
+ QLIST_FOREACH (dcl, &ds->listeners, next) {
+ if (dcl->con != NULL) {
+ continue;
}
+ displaychangelistener_display_console(dcl, s, NULL);
}
dpy_text_resize(s, s->width, s->height);
text_console_update_cursor(NULL);