[PATCH weston v2 5/9] wayland-backend: define output configuration structure

Benoit Gschwind gschwind at gnu-log.net
Thu Apr 28 18:33:12 UTC 2016


The structure is not used currently, just the definition to be used.

Signed-off-by: Benoit Gschwind <gschwind at gnu-log.net>
---
 src/compositor-wayland.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index 175bd68..f218c9e 100644
--- a/src/compositor-wayland.c
+++ b/src/compositor-wayland.c
@@ -52,6 +52,14 @@
 
 #define WINDOW_TITLE "Weston Compositor"
 
+struct weston_wayland_backend_output_config {
+	int width;
+	int height;
+	char *name;
+	uint32_t transform;
+	int32_t scale;
+};
+
 struct weston_wayland_backend_config {
 	int use_pixman;
 	int sprawl;
-- 
2.7.3



More information about the wayland-devel mailing list