diff options
| author | Rose Hudson <rose@krx.sh> | 2023-08-22 11:51:59 +0200 | 
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2023-08-22 11:53:25 +0200 | 
| commit | 91f813ffb75026baacdccf0f526ba6ee29dcd790 (patch) | |
| tree | 4a8efe4c92b478003437252ecb1c839e6b70044b /include | |
| parent | e85c79051cc5003568ace6a29ce6e13d16796e48 (diff) | |
| download | wlroots-91f813ffb75026baacdccf0f526ba6ee29dcd790.tar.xz | |
output_layout: return wlr_output_layout_output when adding output
This will be used for the scene-graph integration.
Diffstat (limited to 'include')
| -rw-r--r-- | include/wlr/types/wlr_output_layout.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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);  /** | 
