From 2e9e237f9d5485f65afbf3d8b49c740ed0653e5b Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Wed, 16 Aug 2017 15:00:15 -0400 Subject: layout-output example: handle empty config --- include/wlr/types/wlr_output_layout.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/wlr') 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); -- cgit v1.2.3