1
1
mirror of https://github.com/swaywm/sway synced 2024-10-01 05:51:19 +02:00
sway/swaybar
Ian Fan ccdec2a329 swaybar: reset tokener if json is incomplete
If the tokener parses incomplete json, it sets its error value to
json_tokener_continue. This means that extra json should be provided,
but the code was providing the entire object again. In the interest of
simplicity, the tokener is reset so that buffer_pos always points to the
start of the current object.
2018-09-21 15:09:54 +01:00
..
bar.c
config.c
event_loop.c
i3bar.c swaybar: reset tokener if json is incomplete 2018-09-21 15:09:54 +01:00
ipc.c
main.c
meson.build
render.c
status_line.c