aboutsummaryrefslogtreecommitdiffstats
path: root/include/swaybar/event_loop.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/swaybar/event_loop.h')
-rw-r--r--include/swaybar/event_loop.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/swaybar/event_loop.h b/include/swaybar/event_loop.h
index a0cde07f..d5089262 100644
--- a/include/swaybar/event_loop.h
+++ b/include/swaybar/event_loop.h
@@ -13,11 +13,11 @@ void add_timer(timer_t timer,
13 void(*cb)(timer_t timer, void *data), 13 void(*cb)(timer_t timer, void *data),
14 void *data); 14 void *data);
15 15
16// Returns false if nothing exists, true otherwise 16// Remove the given event from the event loop
17bool remove_event(int fd); 17void remove_event(int fd);
18 18
19// Returns false if nothing exists, true otherwise 19// Remove the given timer from the event loop
20bool remove_timer(timer_t timer); 20void remove_timer(timer_t timer);
21 21
22// Blocks and returns after sending callbacks 22// Blocks and returns after sending callbacks
23void event_loop_poll(); 23void event_loop_poll();