diff options
author | 2015-12-14 19:10:29 -0500 | |
---|---|---|
committer | 2015-12-14 19:10:29 -0500 | |
commit | 18b4959578cf96ed2eada6b3327f25b09eb1853a (patch) | |
tree | fb469ff34a1ba6c5fffc242464acd10f5235ebca /include/config.h | |
parent | Merge pull request #321 from gpyh/bar_cmds (diff) | |
parent | Move default bar config to bar creation. (diff) | |
download | sway-18b4959578cf96ed2eada6b3327f25b09eb1853a.tar.gz sway-18b4959578cf96ed2eada6b3327f25b09eb1853a.tar.zst sway-18b4959578cf96ed2eada6b3327f25b09eb1853a.zip |
Merge pull request #322 from mikkeloscar/default-bar-config
Move default bar config to bar creation.
Diffstat (limited to 'include/config.h')
-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 { | |||
125 | list_t *output_configs; | 125 | list_t *output_configs; |
126 | list_t *criteria; | 126 | list_t *criteria; |
127 | struct sway_mode *current_mode; | 127 | struct sway_mode *current_mode; |
128 | struct bar_config bar; | ||
129 | struct bar_config *current_bar; | 128 | struct bar_config *current_bar; |
130 | uint32_t floating_mod; | 129 | uint32_t floating_mod; |
131 | uint32_t dragging_key; | 130 | uint32_t dragging_key; |
@@ -177,6 +176,11 @@ int sway_mouse_binding_cmp_buttons(const void *a, const void *b); | |||
177 | void free_sway_mouse_binding(struct sway_mouse_binding *smb); | 176 | void free_sway_mouse_binding(struct sway_mouse_binding *smb); |
178 | 177 | ||
179 | /** | 178 | /** |
179 | * Allocate and initialize default bar configuration. | ||
180 | */ | ||
181 | struct bar_config *default_bar_config(void); | ||
182 | |||
183 | /** | ||
180 | * Global config singleton. | 184 | * Global config singleton. |
181 | */ | 185 | */ |
182 | extern struct sway_config *config; | 186 | extern struct sway_config *config; |