projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
385ac97
)
ui: set cursor upon listener registration
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Tue, 17 Jan 2023 11:34:45 +0000
(15:34 +0400)
committer
Marc-André Lureau
<marcandre.lureau@redhat.com>
Mon, 13 Mar 2023 19:45:56 +0000
(23:45 +0400)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
ui/console.c
patch
|
blob
|
history
diff --git
a/ui/console.c
b/ui/console.c
index 0dccbdd4be89e8b69aa01f48ffffc20f576fb2b9..35f8274aab30ad5c341d6693fa46b7817726fda6 100644
(file)
--- a/
ui/console.c
+++ b/
ui/console.c
@@
-1662,6
+1662,9
@@
void register_displaychangelistener(DisplayChangeListener *dcl)
con = active_console;
}
displaychangelistener_display_console(dcl, con, dcl->con ? &error_fatal : NULL);
+ if (con && con->cursor && dcl->ops->dpy_cursor_define) {
+ dcl->ops->dpy_cursor_define(dcl, con->cursor);
+ }
text_console_update_cursor(NULL);
}