diff options
author | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-10-21 16:34:12 +0200 |
---|---|---|
committer | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-10-21 23:24:06 +0200 |
commit | ca862a5bd45ef094d0f0de5a0765224524b74c48 (patch) | |
tree | ea2b673e5929de337b7444614b0d976bc07c3460 /include | |
parent | 6eb8da0e147aa535ec0736684237890ad4291d84 (diff) | |
download | sway-ca862a5bd45ef094d0f0de5a0765224524b74c48.tar.xz |
config: Apply output config also during config reload.
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 676218c8..2a8e36fa 100644 --- a/include/config.h +++ b/include/config.h @@ -6,6 +6,7 @@ #include <xkbcommon/xkbcommon.h> #include "list.h" #include "layout.h" +#include "container.h" struct sway_variable { char *name; @@ -62,6 +63,8 @@ struct sway_config { bool load_config(const char *file); bool read_config(FILE *file, bool is_active); char *do_var_replacement(char *str); +// Setup output container by applying given config +void apply_output_config(struct output_config *oc, swayc_t *output); extern struct sway_config *config; |