Skip to content

Commit

Permalink
don't throttle ipc events
Browse files Browse the repository at this point in the history
  • Loading branch information
LBCrion committed Dec 26, 2020
1 parent fef3adb commit 91546d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sfwbar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 91546d3

Please sign in to comment.