diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/swaybar/bar.h | 2 | ||||
-rw-r--r-- | include/swaybar/config.h | 2 | ||||
-rw-r--r-- | include/swaybar/status_line.h | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h index 0037190b..af478f33 100644 --- a/include/swaybar/bar.h +++ b/include/swaybar/bar.h @@ -79,4 +79,6 @@ void bar_setup(struct swaybar *bar, void bar_run(struct swaybar *bar); void bar_teardown(struct swaybar *bar); +void free_workspaces(struct wl_list *list); + #endif diff --git a/include/swaybar/config.h b/include/swaybar/config.h index 7f321df8..6739c28a 100644 --- a/include/swaybar/config.h +++ b/include/swaybar/config.h @@ -29,7 +29,7 @@ struct swaybar_config { bool binding_mode_indicator; bool wrap_scroll; bool workspace_buttons; - struct wl_list outputs; + struct wl_list outputs; // config_output::link bool all_outputs; int height; diff --git a/include/swaybar/status_line.h b/include/swaybar/status_line.h index 3538f49c..bf12a842 100644 --- a/include/swaybar/status_line.h +++ b/include/swaybar/status_line.h @@ -73,5 +73,6 @@ void status_line_free(struct status_line *status); bool i3bar_handle_readable(struct status_line *status); void i3bar_block_send_click(struct status_line *status, struct i3bar_block *block, int x, int y, uint32_t button); +void i3bar_block_free(struct i3bar_block *block); #endif |