]> code.delx.au - spectrwm/commit
Use a tail queue for the spawns.
authorTiago Cunha <tcunha@gmx.com>
Tue, 7 Feb 2012 23:35:14 +0000 (23:35 +0000)
committerTiago Cunha <tcunha@gmx.com>
Tue, 7 Feb 2012 23:35:14 +0000 (23:35 +0000)
commitb1d1bb436052a1b7f902ad17e6ff9f658b4313a3
tree2d32aaeeb5173f60f594fe361468c07b8032652b
parent739a5e6e3218529604d7a36cda21910719897e7b
Use a tail queue for the spawns.

Instead of hand rolling a dynamic array, just use a tail queue by taking
advantage of the queue(3) macros.

Simplifies the code, since there's no need to (re)allocate the array and
to keep track of its size and length.

ok marco
scrotwm.c