From 9c116e1f133c3d3d0872b86f8a9d808b89e10005 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Fri, 23 Jun 2023 11:59:26 -0500 Subject: [PATCH] libweston.h: Move struct weston_plane earlier in the file We're going to move primary planes from compositor to output, so we need struct weston_plane to precede struct weston_output. Signed-off-by: Derek Foreman --- include/libweston/libweston.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/libweston/libweston.h b/include/libweston/libweston.h index 656c2f42..f3397dca 100644 --- a/include/libweston/libweston.h +++ b/include/libweston/libweston.h @@ -440,6 +440,13 @@ enum weston_output_power_state { WESTON_OUTPUT_POWER_NORMAL }; +struct weston_plane { + struct weston_compositor *compositor; + pixman_region32_t clip; + int32_t x, y; + struct wl_list link; +}; + /** Content producer for heads * * \rst @@ -1265,13 +1272,6 @@ struct weston_layer { struct weston_layer_entry view_list; }; -struct weston_plane { - struct weston_compositor *compositor; - pixman_region32_t clip; - int32_t x, y; - struct wl_list link; -}; - struct weston_drm_format_array; enum weston_capability {