aboutsummaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-11-29 16:26:11 -0500
committerDrew DeVault <sir@cmpwn.com>2015-11-29 16:26:11 -0500
commit3f950b6e526baaf719f5a7b5d7085f6468b16b29 (patch)
tree225c3470228ee2f5ac29d29ca046132154404f43 /include/config.h
parente906b4e24059093093b76e44029b7b8408e2a250 (diff)
parentb1bd3ae6f3210e6b3ecda2d253518da18420e6cd (diff)
Merge pull request #278 from christophgysin/merge
cmd_output: Merge instead of replace output config
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 9caadec8..b9ef340b 100644
--- a/include/config.h
+++ b/include/config.h
@@ -40,7 +40,7 @@ struct sway_mode {
*/
struct output_config {
char *name;
- bool enabled;
+ int enabled;
int width, height;
int x, y;
char *background;
@@ -99,6 +99,7 @@ bool read_config(FILE *file, bool is_active);
*/
char *do_var_replacement(char *str);
int output_name_cmp(const void *item, const void *data);
+void merge_output_config(struct output_config *dst, struct output_config *src);
/** Sets up a WLC output handle based on a given output_config.
*/
void apply_output_config(struct output_config *oc, swayc_t *output);