compositor: move some prototypes

In a future commit, we'll need weston_subsurface_parent_commit sooner,
so just move both of these prototypes earlier in the file.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2025-07-02 15:30:40 -05:00
parent 8479772d2d
commit ae9b99352c

View file

@ -5059,6 +5059,12 @@ weston_surface_apply_state(struct weston_surface *surface,
return status;
}
static enum weston_surface_status
weston_subsurface_commit(struct weston_subsurface *sub);
static enum weston_surface_status
weston_subsurface_parent_commit(struct weston_subsurface *sub);
static enum weston_surface_status
weston_surface_apply(struct weston_surface *surface,
struct weston_surface_state *state)
@ -5076,12 +5082,6 @@ weston_surface_apply(struct weston_surface *surface,
return status;
}
static enum weston_surface_status
weston_subsurface_commit(struct weston_subsurface *sub);
static enum weston_surface_status
weston_subsurface_parent_commit(struct weston_subsurface *sub);
static enum weston_surface_status
weston_surface_commit(struct weston_surface *surface)
{