From ca862a5bd45ef094d0f0de5a0765224524b74c48 Mon Sep 17 00:00:00 2001 From: "S. Christoffer Eliesen" Date: Wed, 21 Oct 2015 16:34:12 +0200 Subject: config: Apply output config also during config reload. --- include/config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 #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; -- cgit v1.2.3