diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-12-14 19:10:29 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-12-14 19:10:29 -0500 |
commit | 18b4959578cf96ed2eada6b3327f25b09eb1853a (patch) | |
tree | fb469ff34a1ba6c5fffc242464acd10f5235ebca /include | |
parent | 0b5c695d8e90db409476f83515f193d1b3f4d48a (diff) | |
parent | 0513322c033d0d2c9c7aafaa95590c4d9320fcc8 (diff) |
Merge pull request #322 from mikkeloscar/default-bar-config
Move default bar config to bar creation.
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h index 0fc8202c..5bb7107a 100644 --- a/include/config.h +++ b/include/config.h @@ -125,7 +125,6 @@ struct sway_config { list_t *output_configs; list_t *criteria; struct sway_mode *current_mode; - struct bar_config bar; struct bar_config *current_bar; uint32_t floating_mod; uint32_t dragging_key; @@ -177,6 +176,11 @@ int sway_mouse_binding_cmp_buttons(const void *a, const void *b); void free_sway_mouse_binding(struct sway_mouse_binding *smb); /** + * Allocate and initialize default bar configuration. + */ +struct bar_config *default_bar_config(void); + +/** * Global config singleton. */ extern struct sway_config *config; |