diff options
author | 2018-04-02 14:23:01 -0400 | |
---|---|---|
committer | 2018-04-02 14:23:01 -0400 | |
commit | 4134407fa967c7f45cd09554b74a15f28974fca5 (patch) | |
tree | a1a6122d927b95b29375af7dbf6adccd8cb4e71f /swaybar/bar.c | |
parent | Merge pull request #1697 from RedSoxFan/back-and-forth (diff) | |
parent | Render blocks the correct order (diff) | |
download | sway-4134407fa967c7f45cd09554b74a15f28974fca5.tar.gz sway-4134407fa967c7f45cd09554b74a15f28974fca5.tar.zst sway-4134407fa967c7f45cd09554b74a15f28974fca5.zip |
Merge pull request #1690 from swaywm/i3bar-json
I3bar json
Diffstat (limited to 'swaybar/bar.c')
-rw-r--r-- | swaybar/bar.c | 4 |
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) { | |||
308 | 308 | ||
309 | static void ipc_in(int fd, short mask, void *_bar) { | 309 | static void ipc_in(int fd, short mask, void *_bar) { |
310 | struct swaybar *bar = (struct swaybar *)_bar; | 310 | struct swaybar *bar = (struct swaybar *)_bar; |
311 | if (handle_ipc_event(bar)) { | 311 | if (handle_ipc_readable(bar)) { |
312 | render_all_frames(bar); | 312 | render_all_frames(bar); |
313 | } | 313 | } |
314 | } | 314 | } |
315 | 315 | ||
316 | static void status_in(int fd, short mask, void *_bar) { | 316 | static void status_in(int fd, short mask, void *_bar) { |
317 | struct swaybar *bar = (struct swaybar *)_bar; | 317 | struct swaybar *bar = (struct swaybar *)_bar; |
318 | if (handle_status_readable(bar->status)) { | 318 | if (status_handle_readable(bar->status)) { |
319 | render_all_frames(bar); | 319 | render_all_frames(bar); |
320 | } | 320 | } |
321 | } | 321 | } |