summaryrefslogtreecommitdiff
path: root/swaybar/bar.c
diff options
context:
space:
mode:
authorIan Fan <[email protected]>2018-12-07 12:40:45 +0000
committerIan Fan <[email protected]>2018-12-31 20:40:18 +0000
commit2fd41fe9c85a866173fc2770ed7669871258bced (patch)
treeb86d174e5bc5827bd4fdedf8e6e6aee6fb8fc929 /swaybar/bar.c
parent6becde024680503100c94702ed7d1fbf4d01576e (diff)
swaybar: set bar dirty on SNI event
Diffstat (limited to 'swaybar/bar.c')
-rw-r--r--swaybar/bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c
index ebb9bc12..4fd9c488 100644
--- a/swaybar/bar.c
+++ b/swaybar/bar.c
@@ -124,7 +124,7 @@ static void destroy_layer_surface(struct swaybar_output *output) {
output->frame_scheduled = false;
}
-static void set_bar_dirty(struct swaybar *bar) {
+void set_bar_dirty(struct swaybar *bar) {
struct swaybar_output *output;
wl_list_for_each(output, &bar->outputs, link) {
set_output_dirty(output);