diff options
author | Benoit Gschwind <gschwind@gnu-log.net> | 2016-05-10 22:47:48 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-05-11 12:26:08 +0300 |
commit | e091b45b60020d61587d7df521aec0792ccc929b (patch) | |
tree | c190fabd9c1d7e3f7067f3d6c37aa70e259108c3 /src/compositor-wayland.h | |
parent | 5dfce19c893f0eb4b44a805ada2b048b6019d4ab (diff) | |
download | weston-e091b45b60020d61587d7df521aec0792ccc929b.tar.gz |
compositor-wayland: add versionning to config structure
The patch use temporary code that prepare the patch:
"compositor-wayland: move configuration parsing to weston main.c"
Signed-off-by: Benoit Gschwind <gschwind@gnu-log.net>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'src/compositor-wayland.h')
-rw-r--r-- | src/compositor-wayland.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compositor-wayland.h b/src/compositor-wayland.h index 5af5ea7c..de69b988 100644 --- a/src/compositor-wayland.h +++ b/src/compositor-wayland.h @@ -32,6 +32,8 @@ extern "C" { #endif +#define WESTON_WAYLAND_BACKEND_CONFIG_VERSION 1 + struct weston_wayland_backend_output_config { int width; int height; @@ -41,6 +43,7 @@ struct weston_wayland_backend_output_config { }; struct weston_wayland_backend_config { + struct weston_backend_config base; int use_pixman; int sprawl; char *display_name; |