swayfx/sway/tree
Matt Coffin 2b5bf78faf Fix segfaults caused by faulty command parsing
This patch fixes faulty command parsing introduced by
f0f5de9a9e. When that commit allowed
criteria reset on ';' delimeters in commands lists, it failed to account
for its inner ','-parsing loop eating threw the entire rest of the
string.

This patch refactors argsep to use a list of multiple separators, and
(optionally) return the separator that it matched against in this
iteration via a pointer. This allows it to hint at the command parser
which separator was used at the end of the last command, allowing it to
trigger a potential secondary read of the criteria.

Fixes #4239
2019-06-11 14:40:36 -04:00
..
arrange.c Stop using wlr_output->{lx,ly} 2019-03-11 12:43:01 -04:00
container.c cmd_move: respect workspace layout when inserting 2019-04-24 19:12:24 -06:00
node.c Fix scratchpad fullscreen behavior and crash 2019-04-13 08:48:37 -06:00
output.c swaybg: one instance for all outputs 2019-04-04 20:08:21 +03:00
root.c Fix scratchpad fullscreen behavior and crash 2019-04-13 08:48:37 -06:00
view.c Use parent get_root_coords in subsurfaces 2019-05-30 14:25:07 -04:00
workspace.c Fix segfaults caused by faulty command parsing 2019-06-11 14:40:36 -04:00