From 91f813ffb75026baacdccf0f526ba6ee29dcd790 Mon Sep 17 00:00:00 2001 From: Rose Hudson Date: Tue, 22 Aug 2023 11:51:59 +0200 Subject: output_layout: return wlr_output_layout_output when adding output This will be used for the scene-graph integration. --- include/wlr/types/wlr_output_layout.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/wlr/types/wlr_output_layout.h b/include/wlr/types/wlr_output_layout.h index bb73958e..41f06c25 100644 --- a/include/wlr/types/wlr_output_layout.h +++ b/include/wlr/types/wlr_output_layout.h @@ -82,7 +82,7 @@ struct wlr_output *wlr_output_layout_output_at( * * Returns true on success, false on a memory allocation error. */ -bool wlr_output_layout_add(struct wlr_output_layout *layout, +struct wlr_output_layout_output *wlr_output_layout_add(struct wlr_output_layout *layout, struct wlr_output *output, int lx, int ly); /** @@ -94,7 +94,7 @@ bool wlr_output_layout_add(struct wlr_output_layout *layout, * * Returns true on success, false on a memory allocation error. */ -bool wlr_output_layout_add_auto(struct wlr_output_layout *layout, +struct wlr_output_layout_output *wlr_output_layout_add_auto(struct wlr_output_layout *layout, struct wlr_output *output); /** -- cgit v1.2.3