diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-29 10:38:17 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-29 22:11:08 -0400 |
commit | 86ba0fc15d7615b09f0279616d538af5c23bc551 (patch) | |
tree | 374d19c070eafb5ea50335d01152416242af1bc0 /include/swaybar/ipc.h | |
parent | Implement workspace button rendering (diff) | |
download | sway-86ba0fc15d7615b09f0279616d538af5c23bc551.tar.gz sway-86ba0fc15d7615b09f0279616d538af5c23bc551.tar.zst sway-86ba0fc15d7615b09f0279616d538af5c23bc551.zip |
Re-render bar on IPC updates
Diffstat (limited to 'include/swaybar/ipc.h')
-rw-r--r-- | include/swaybar/ipc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/swaybar/ipc.h b/include/swaybar/ipc.h index f3881bd0..278baef0 100644 --- a/include/swaybar/ipc.h +++ b/include/swaybar/ipc.h | |||
@@ -1,9 +1,10 @@ | |||
1 | #ifndef _SWAYBAR_IPC_H | 1 | #ifndef _SWAYBAR_IPC_H |
2 | #define _SWAYBAR_IPC_H | 2 | #define _SWAYBAR_IPC_H |
3 | #include <stdbool.h> | ||
3 | #include "swaybar/bar.h" | 4 | #include "swaybar/bar.h" |
4 | 5 | ||
5 | void ipc_initialize(struct swaybar *bar, const char *bar_id); | 6 | void ipc_initialize(struct swaybar *bar, const char *bar_id); |
6 | void handle_ipc_event(struct swaybar *bar); | 7 | bool handle_ipc_event(struct swaybar *bar); |
7 | void ipc_get_workspaces(struct swaybar *bar); | 8 | void ipc_get_workspaces(struct swaybar *bar); |
8 | 9 | ||
9 | #endif | 10 | #endif |