diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-10-08 11:40:13 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-10-09 08:12:46 -0400 |
commit | 1c969e86f50065985ddf35b7fef62c14aa7688a5 (patch) | |
tree | 1d44b026ffb8cd67595b695ac92275ba320ee4d9 /include/sway/config.h | |
parent | Merge pull request #2804 from Emantor/swaynag-double-free (diff) | |
download | sway-1c969e86f50065985ddf35b7fef62c14aa7688a5.tar.gz sway-1c969e86f50065985ddf35b7fef62c14aa7688a5.tar.zst sway-1c969e86f50065985ddf35b7fef62c14aa7688a5.zip |
Implement bar bindsym
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 00b5f25b..549d2677 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -239,6 +239,12 @@ struct bar_config { | |||
239 | } colors; | 239 | } colors; |
240 | }; | 240 | }; |
241 | 241 | ||
242 | struct bar_binding { | ||
243 | uint32_t button; | ||
244 | bool release; | ||
245 | char *command; | ||
246 | }; | ||
247 | |||
242 | struct border_colors { | 248 | struct border_colors { |
243 | float border[4]; | 249 | float border[4]; |
244 | float background[4]; | 250 | float background[4]; |
@@ -527,6 +533,8 @@ struct bar_config *default_bar_config(void); | |||
527 | 533 | ||
528 | void free_bar_config(struct bar_config *bar); | 534 | void free_bar_config(struct bar_config *bar); |
529 | 535 | ||
536 | void free_bar_binding(struct bar_binding *binding); | ||
537 | |||
530 | void free_workspace_config(struct workspace_config *wsc); | 538 | void free_workspace_config(struct workspace_config *wsc); |
531 | 539 | ||
532 | /** | 540 | /** |