diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-22 11:18:55 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-22 11:18:55 -0400 |
commit | b7f4607544d51811e986b98c8c3eda7ed7c68b1a (patch) | |
tree | 0e2cf9f02e1d2cde3bf7d0b7424ff5ac3ee6c1e3 /include/config.h | |
parent | ade634bb04027a6ea5f053330e044638f135c147 (diff) |
Implement output configuration through config
Do not use `output res WIDTHxHEIGHT` yet, wlc has issues with it (cc
@Cloudef)
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index c23c3509..c896b423 100644 --- a/include/config.h +++ b/include/config.h @@ -22,6 +22,12 @@ struct sway_mode { list_t *bindings; }; +struct output_config { + char *name; + int width, height; + int x, y; +}; + struct workspace_output { char *output; char *workspace; @@ -32,6 +38,7 @@ struct sway_config { list_t *modes; list_t *cmd_queue; list_t *workspace_outputs; + list_t *output_configs; struct sway_mode *current_mode; uint32_t floating_mod; |