swaybar: set bar dirty on SNI event

This commit is contained in:
Ian Fan 2018-12-07 12:40:45 +00:00
parent 6becde0246
commit 2fd41fe9c8
4 changed files with 18 additions and 1 deletions
include/swaybar

View file

@ -88,6 +88,8 @@ bool bar_setup(struct swaybar *bar, const char *socket_path);
void bar_run(struct swaybar *bar);
void bar_teardown(struct swaybar *bar);
void set_bar_dirty(struct swaybar *bar);
/*
* Determines whether the bar should be visible and changes it to be so.
* If the current visibility of the bar is the different to what it should be,