]> code.delx.au - spectrwm/commit
Use a tail queue for the quirks.
authorTiago Cunha <tcunha@gmx.com>
Thu, 2 Feb 2012 21:44:21 +0000 (21:44 +0000)
committerTiago Cunha <tcunha@gmx.com>
Thu, 2 Feb 2012 23:43:27 +0000 (23:43 +0000)
commit11120d6ae8fab0c43758254a3ac2f0903df1d1cf
tree38464bb753c1eaea85d925b87c64b1d36ef880de
parent90bd93770a7c82e9620689d74480ee23c6b7314a
Use a tail queue for the quirks.

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.
scrotwm.c