aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenoit Gschwind <gschwind@gnu-log.net>2021-04-10 22:57:50 +0200
committerSimon Ser <contact@emersion.fr>2021-04-11 10:19:00 +0200
commitee3640363eecc3e6f71f88eb03cdbca84e26dc27 (patch)
tree89d01e1150cb8d41ea3d0148612ff3ce32121efb /include
parentd50bbf0bbc49a9a8e010668cd357aba968ae884b (diff)
Document the wlr_output_layout_get function
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_output_layout.h4
1 files changed, 4 insertions, 0 deletions
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);