diff options
| author | Marc-André Lureau | 2020-09-27 16:57:48 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2020-09-29 10:08:25 +0200 |
| commit | 5eaf1e48ff397185ec2f702f9968787d4d29e3c4 (patch) | |
| tree | f97362445092488aae53b33ff0ab1c78424c708d /include/ui | |
| parent | edid: use physical dimensions if available (diff) | |
| download | qemu-5eaf1e48ff397185ec2f702f9968787d4d29e3c4.tar.gz qemu-5eaf1e48ff397185ec2f702f9968787d4d29e3c4.tar.xz qemu-5eaf1e48ff397185ec2f702f9968787d4d29e3c4.zip | |
ui: add getter for UIInfo
The following patch is going to introduce extra fields / details to
UIInfo. Add a getter and keep the current values, instead of memset(0)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20200927145751.365446-4-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui')
| -rw-r--r-- | include/ui/console.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/console.h b/include/ui/console.h index 79e301f946..353d2e49a1 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -264,6 +264,7 @@ void update_displaychangelistener(DisplayChangeListener *dcl, void unregister_displaychangelistener(DisplayChangeListener *dcl); bool dpy_ui_info_supported(QemuConsole *con); +const QemuUIInfo *dpy_get_ui_info(const QemuConsole *con); int dpy_set_ui_info(QemuConsole *con, QemuUIInfo *info); void dpy_gfx_update(QemuConsole *con, int x, int y, int w, int h); |
