aboutsummaryrefslogtreecommitdiff
path: root/include/ui
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/console.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index c4f497cb8d..0a190370ac 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -131,7 +131,7 @@ struct PixelFormat {
uint8_t rbits, gbits, bbits, abits;
};
-struct DisplaySurface {
+typedef struct DisplaySurface {
pixman_format_code_t format;
pixman_image_t *image;
uint8_t flags;
@@ -140,7 +140,7 @@ struct DisplaySurface {
GLenum gltype;
GLuint texture;
#endif
-};
+} DisplaySurface;
typedef struct QemuUIInfo {
/* geometry */
@@ -189,6 +189,8 @@ typedef struct QemuDmaBuf {
bool y0_top;
} QemuDmaBuf;
+typedef struct DisplayState DisplayState;
+
typedef struct DisplayChangeListenerOps {
const char *dpy_name;