aboutsummaryrefslogtreecommitdiffstats
path: root/include/config.h
diff options
context:
space:
mode:
authorLibravatar S. Christoffer Eliesen <christoffer@eliesen.no>2015-10-21 16:34:12 +0200
committerLibravatar S. Christoffer Eliesen <christoffer@eliesen.no>2015-10-21 23:24:06 +0200
commitca862a5bd45ef094d0f0de5a0765224524b74c48 (patch)
treeea2b673e5929de337b7444614b0d976bc07c3460 /include/config.h
parentcommands,container: Tweak debug output to better reflect reality. (diff)
downloadsway-ca862a5bd45ef094d0f0de5a0765224524b74c48.tar.gz
sway-ca862a5bd45ef094d0f0de5a0765224524b74c48.tar.zst
sway-ca862a5bd45ef094d0f0de5a0765224524b74c48.zip
config: Apply output config also during config reload.
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h3
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 @@
6#include <xkbcommon/xkbcommon.h> 6#include <xkbcommon/xkbcommon.h>
7#include "list.h" 7#include "list.h"
8#include "layout.h" 8#include "layout.h"
9#include "container.h"
9 10
10struct sway_variable { 11struct sway_variable {
11 char *name; 12 char *name;
@@ -62,6 +63,8 @@ struct sway_config {
62bool load_config(const char *file); 63bool load_config(const char *file);
63bool read_config(FILE *file, bool is_active); 64bool read_config(FILE *file, bool is_active);
64char *do_var_replacement(char *str); 65char *do_var_replacement(char *str);
66// Setup output container by applying given config
67void apply_output_config(struct output_config *oc, swayc_t *output);
65 68
66extern struct sway_config *config; 69extern struct sway_config *config;
67 70