aboutsummaryrefslogtreecommitdiff
path: root/swaybar/bar.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-02 14:23:01 -0400
committerGitHub <noreply@github.com>2018-04-02 14:23:01 -0400
commit4134407fa967c7f45cd09554b74a15f28974fca5 (patch)
treea1a6122d927b95b29375af7dbf6adccd8cb4e71f /swaybar/bar.c
parent2a8985a3451f8be7e4b1eb21e3266e9f5b979b39 (diff)
parentef50d84be1180a7ddd73e1273ebb77503b3f36c4 (diff)
Merge pull request #1690 from swaywm/i3bar-json
I3bar json
Diffstat (limited to 'swaybar/bar.c')
-rw-r--r--swaybar/bar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c
index f743236c..fb417095 100644
--- a/swaybar/bar.c
+++ b/swaybar/bar.c
@@ -308,14 +308,14 @@ static void display_in(int fd, short mask, void *_bar) {
static void ipc_in(int fd, short mask, void *_bar) {
struct swaybar *bar = (struct swaybar *)_bar;
- if (handle_ipc_event(bar)) {
+ if (handle_ipc_readable(bar)) {
render_all_frames(bar);
}
}
static void status_in(int fd, short mask, void *_bar) {
struct swaybar *bar = (struct swaybar *)_bar;
- if (handle_status_readable(bar->status)) {
+ if (status_handle_readable(bar->status)) {
render_all_frames(bar);
}
}