aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-29 10:38:17 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-29 22:11:08 -0400
commit86ba0fc15d7615b09f0279616d538af5c23bc551 (patch)
tree374d19c070eafb5ea50335d01152416242af1bc0 /include/swaybar
parent3a458cd7b55bdfad1b04a01064f4fe8fa86ed0de (diff)
Re-render bar on IPC updates
Diffstat (limited to 'include/swaybar')
-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 @@
#ifndef _SWAYBAR_IPC_H
#define _SWAYBAR_IPC_H
+#include <stdbool.h>
#include "swaybar/bar.h"
void ipc_initialize(struct swaybar *bar, const char *bar_id);
-void handle_ipc_event(struct swaybar *bar);
+bool handle_ipc_event(struct swaybar *bar);
void ipc_get_workspaces(struct swaybar *bar);
#endif