From 40bd6bcc437c219b9045f796f7a572903307c6b0 Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Wed, 30 Aug 2017 10:39:22 -0400 Subject: implement output layout auto configuration --- examples/config.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'examples/config.h') diff --git a/examples/config.h b/examples/config.h index 2a69c4f4..bc2e101b 100644 --- a/examples/config.h +++ b/examples/config.h @@ -34,6 +34,11 @@ struct example_config *parse_args(int argc, char *argv[]); void example_config_destroy(struct example_config *config); -struct wlr_output_layout *configure_layout(struct example_config *config, - struct wl_list *outputs); +/** + * Get configuration for the output. If the output is not configured, returns + * NULL. + */ +struct output_config *example_config_get_output(struct example_config *config, + struct wlr_output *output); + #endif -- cgit v1.2.3