Fix a bunch of swaybar memory leaks

This commit is contained in:
emersion 2018-04-24 22:04:19 +01:00
parent 317b8cbd93
commit aa36899d8a
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
8 changed files with 38 additions and 24 deletions

View file

@ -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

View file

@ -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;

View file

@ -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