implement output layout auto configuration

This commit is contained in:
Tony Crisci 2017-08-30 10:39:22 -04:00
parent e91c91d455
commit 40bd6bcc43
6 changed files with 156 additions and 89 deletions

View file

@ -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