aboutsummaryrefslogtreecommitdiff
path: root/examples/config.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-01 03:47:25 -0500
committerGitHub <noreply@github.com>2017-09-01 03:47:25 -0500
commit252a1b9c13e21ca6647233c7023251a2050c32bf (patch)
tree8ab4dc5e9a7768723f2cceac8f763ea203aa8a1d /examples/config.h
parente91c91d45544d7bd435e7628dcafaa346c5310b9 (diff)
parent6d26fda57c4b8345e79cda66dc243683b8c1d453 (diff)
Merge pull request #128 from acrisci/feature/layout-autoconfiguration
implement output layout auto configuration
Diffstat (limited to 'examples/config.h')
-rw-r--r--examples/config.h9
1 files changed, 7 insertions, 2 deletions
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