From ee3640363eecc3e6f71f88eb03cdbca84e26dc27 Mon Sep 17 00:00:00 2001 From: Benoit Gschwind Date: Sat, 10 Apr 2021 22:57:50 +0200 Subject: Document the wlr_output_layout_get function --- include/wlr/types/wlr_output_layout.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/wlr/types/wlr_output_layout.h b/include/wlr/types/wlr_output_layout.h index 51c1e4ca..4f4266e9 100644 --- a/include/wlr/types/wlr_output_layout.h +++ b/include/wlr/types/wlr_output_layout.h @@ -54,6 +54,10 @@ struct wlr_output_layout *wlr_output_layout_create(void); void wlr_output_layout_destroy(struct wlr_output_layout *layout); +/** + * Get the output layout for the specified output. Returns NULL if no output + * matches. + */ struct wlr_output_layout_output *wlr_output_layout_get( struct wlr_output_layout *layout, struct wlr_output *reference); -- cgit v1.2.3