From 91546d3b90b5d0546965c6a6be367ebef1291767 Mon Sep 17 00:00:00 2001 From: Lev Babiev Date: Sat, 26 Dec 2020 20:10:54 +0000 Subject: [PATCH] don't throttle ipc events --- src/sfwbar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sfwbar.c b/src/sfwbar.c index bc8fb315..c6f424c3 100644 --- a/src/sfwbar.c +++ b/src/sfwbar.c @@ -83,11 +83,12 @@ gint shell_timer ( struct context *context ) scanner_expire(context->scan_list); widget_update_all(context); obj = ipc_poll(context->ipc); - if (obj != NULL) + while (obj != NULL) { ev = ipc_parse_event(obj); dispatch_event(&ev,context); json_object_put(obj); + obj = ipc_poll(context->ipc); } return TRUE; }