swaybar: move mode & mode_pango_markup to bar struct

This distinguishes the binding mode from the distinct config mode, as
well as removing mode_pango_markup from the config struct where it
should not be present.
This commit is contained in:
Ian Fan 2018-10-12 20:23:01 +01:00
parent a388ffa127
commit fed11d1c7b
5 changed files with 15 additions and 14 deletions

View file

@ -631,4 +631,5 @@ void bar_teardown(struct swaybar *bar) {
status_line_free(bar->status);
}
free(bar->id);
free(bar->mode);
}