aboutsummaryrefslogtreecommitdiff
path: root/include/ui
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-01-17 15:24:40 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-03-13 22:57:39 +0400
commit385ac97f8fad0e6980c5dfea71132d5ecfb16608 (patch)
tree2b9634e3b166674703a0a5e0493d01c0cc712dc5 /include/ui
parent2512a026fab8d526e623426a3002599a2de09d16 (diff)
downloadqemu-385ac97f8fad0e6980c5dfea71132d5ecfb16608.zip
qemu-385ac97f8fad0e6980c5dfea71132d5ecfb16608.tar.gz
qemu-385ac97f8fad0e6980c5dfea71132d5ecfb16608.tar.bz2
ui: keep current cursor with QemuConsole
Keeping the current cursor around is useful, not only for VNC, but for other displays. Let's move it down, see the following patches for other usages. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/console.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index 0b01df9..2a8fab0 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -459,6 +459,7 @@ QemuConsole *qemu_console_lookup_by_device(DeviceState *dev, uint32_t head);
QemuConsole *qemu_console_lookup_by_device_name(const char *device_id,
uint32_t head, Error **errp);
QemuConsole *qemu_console_lookup_unused(void);
+QEMUCursor *qemu_console_get_cursor(QemuConsole *con);
bool qemu_console_is_visible(QemuConsole *con);
bool qemu_console_is_graphic(QemuConsole *con);
bool qemu_console_is_fixedsize(QemuConsole *con);