aboutsummaryrefslogtreecommitdiffstats
path: root/include/swaybar
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-12-07 12:40:45 +0000
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-12-31 20:40:18 +0000
commit2fd41fe9c85a866173fc2770ed7669871258bced (patch)
treeb86d174e5bc5827bd4fdedf8e6e6aee6fb8fc929 /include/swaybar
parentswaybar: implement mouse events for tray (diff)
downloadsway-2fd41fe9c85a866173fc2770ed7669871258bced.tar.gz
sway-2fd41fe9c85a866173fc2770ed7669871258bced.tar.zst
sway-2fd41fe9c85a866173fc2770ed7669871258bced.zip
swaybar: set bar dirty on SNI event
Diffstat (limited to 'include/swaybar')
-rw-r--r--include/swaybar/bar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h
index ad942242..e377b8de 100644
--- a/include/swaybar/bar.h
+++ b/include/swaybar/bar.h
@@ -88,6 +88,8 @@ bool bar_setup(struct swaybar *bar, const char *socket_path);
88void bar_run(struct swaybar *bar); 88void bar_run(struct swaybar *bar);
89void bar_teardown(struct swaybar *bar); 89void bar_teardown(struct swaybar *bar);
90 90
91void set_bar_dirty(struct swaybar *bar);
92
91/* 93/*
92 * Determines whether the bar should be visible and changes it to be so. 94 * Determines whether the bar should be visible and changes it to be so.
93 * If the current visibility of the bar is the different to what it should be, 95 * If the current visibility of the bar is the different to what it should be,