diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-01-06 07:26:54 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-01-06 07:26:54 -0500 |
commit | 8f5de70c93b2afaab0dd7d384c58ff3d3007193c (patch) | |
tree | 4826eca48ec5d4d2b827477c74de7d500f39f0fa /include/config.h | |
parent | Fix whitespaces in cmake config (diff) | |
parent | Only send modifier event once for active modifiers (diff) | |
download | sway-8f5de70c93b2afaab0dd7d384c58ff3d3007193c.tar.gz sway-8f5de70c93b2afaab0dd7d384c58ff3d3007193c.tar.zst sway-8f5de70c93b2afaab0dd7d384c58ff3d3007193c.zip |
Merge pull request #434 from mikkeloscar/detect-modifier
Send IPC modifier event on bar_modifier up/down
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index a915fbed..5e1c39f3 100644 --- a/include/config.h +++ b/include/config.h | |||
@@ -135,6 +135,7 @@ struct sway_config { | |||
135 | list_t *workspace_outputs; | 135 | list_t *workspace_outputs; |
136 | list_t *output_configs; | 136 | list_t *output_configs; |
137 | list_t *criteria; | 137 | list_t *criteria; |
138 | list_t *active_bar_modifiers; | ||
138 | struct sway_mode *current_mode; | 139 | struct sway_mode *current_mode; |
139 | struct bar_config *current_bar; | 140 | struct bar_config *current_bar; |
140 | uint32_t floating_mod; | 141 | uint32_t floating_mod; |
@@ -176,6 +177,11 @@ void merge_output_config(struct output_config *dst, struct output_config *src); | |||
176 | void apply_output_config(struct output_config *oc, swayc_t *output); | 177 | void apply_output_config(struct output_config *oc, swayc_t *output); |
177 | void free_output_config(struct output_config *oc); | 178 | void free_output_config(struct output_config *oc); |
178 | 179 | ||
180 | /** | ||
181 | * Updates the list of active bar modifiers | ||
182 | */ | ||
183 | void update_active_bar_modifiers(void); | ||
184 | |||
179 | int workspace_output_cmp_workspace(const void *a, const void *b); | 185 | int workspace_output_cmp_workspace(const void *a, const void *b); |
180 | 186 | ||
181 | int sway_binding_cmp(const void *a, const void *b); | 187 | int sway_binding_cmp(const void *a, const void *b); |