aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar/event_loop.h
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-09-17 14:10:57 +0100
committerIan Fan <ianfan0@gmail.com>2018-09-18 11:36:33 +0100
commit7882ac66ef4308922045fd100e6a9e12942a240b (patch)
tree67ce4f14f56372c86eb9992eef354d1d76f3081d /include/swaybar/event_loop.h
parent8cbce77e1deb811754a6175388e5ef89f274ff05 (diff)
swaybar: rewrite i3bar protocol handling
This now correctly handles an incoming json infinite array by shifting most of the heavy listing to the json-c parser, as well as sending multiple statuses at once. It also removes the struct i3bar_protocol_state and moves its members into the status_line struct, allowing the same buffer to be used for both protocols.
Diffstat (limited to 'include/swaybar/event_loop.h')
0 files changed, 0 insertions, 0 deletions