aboutsummaryrefslogtreecommitdiffstats
path: root/include/swaybar/ipc.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-03-29 10:38:17 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-03-29 22:11:08 -0400
commit86ba0fc15d7615b09f0279616d538af5c23bc551 (patch)
tree374d19c070eafb5ea50335d01152416242af1bc0 /include/swaybar/ipc.h
parentImplement workspace button rendering (diff)
downloadsway-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.h3
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
5void ipc_initialize(struct swaybar *bar, const char *bar_id); 6void ipc_initialize(struct swaybar *bar, const char *bar_id);
6void handle_ipc_event(struct swaybar *bar); 7bool handle_ipc_event(struct swaybar *bar);
7void ipc_get_workspaces(struct swaybar *bar); 8void ipc_get_workspaces(struct swaybar *bar);
8 9
9#endif 10#endif