diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-14 16:34:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-14 16:34:22 +0200 |
commit | 53d90dd6a82205a20c3e97a8a396048588e1b5ef (patch) | |
tree | 10f5596fd0d90711af66281c38780c5a1d4d724f /swaybar/status_line.c | |
parent | 135f0fc7e7d9435c5f6bd1725b5d3113b23ac991 (diff) | |
parent | c6f153d8f9ad6c961c8dd8e620dc2e8fcb20e7bc (diff) |
Merge pull request #2826 from RyanDwyer/common-eventloop
Implement common event loop for swaybar and swaylock
Diffstat (limited to 'swaybar/status_line.c')
-rw-r--r-- | swaybar/status_line.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swaybar/status_line.c b/swaybar/status_line.c index 000609ce..65d6c052 100644 --- a/swaybar/status_line.c +++ b/swaybar/status_line.c @@ -7,16 +7,16 @@ #include <stdio.h> #include <unistd.h> #include <wlr/util/log.h> +#include "loop.h" #include "swaybar/bar.h" #include "swaybar/config.h" #include "swaybar/i3bar.h" -#include "swaybar/event_loop.h" #include "swaybar/status_line.h" #include "readline.h" static void status_line_close_fds(struct status_line *status) { if (status->read_fd != -1) { - remove_event(status->read_fd); + loop_remove_fd(status->bar->eventloop, status->read_fd); close(status->read_fd); status->read_fd = -1; } |