mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
Fix a bunch of swaybar memory leaks
This commit is contained in:
parent
317b8cbd93
commit
aa36899d8a
8 changed files with 38 additions and 24 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue