aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-08-16 15:00:15 -0400
committerDrew DeVault <sir@cmpwn.com>2017-08-17 21:05:13 -0400
commit2e9e237f9d5485f65afbf3d8b49c740ed0653e5b (patch)
treecce6db9b905d9aa89fce25c8a6fc78c1e931adb2 /include/wlr
parent44181b57aceb2a49846d15e9cea11a704cba9786 (diff)
layout-output example: handle empty config
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output_layout.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output_layout.h b/include/wlr/types/wlr_output_layout.h
index cd36482a..7c904838 100644
--- a/include/wlr/types/wlr_output_layout.h
+++ b/include/wlr/types/wlr_output_layout.h
@@ -18,6 +18,9 @@ struct wlr_output_layout *wlr_output_layout_init();
void wlr_output_layout_destroy(struct wlr_output_layout *layout);
+struct wlr_output_layout_output *wlr_output_layout_get(
+ struct wlr_output_layout *layout, struct wlr_output *reference);
+
struct wlr_output *wlr_output_layout_output_at(struct wlr_output_layout *layout,
double x, double y);