]> git.corax.cc Git - mwm/commit
loop: Add cyclic list type
authorMatthias Kruk <m@m10k.eu>
Mon, 3 May 2021 21:18:24 +0000 (06:18 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 3 May 2021 21:18:24 +0000 (06:18 +0900)
commit5ebab24637b744f51ff95fbc4c25908d1db00ffd
tree8de8193aa6765b86da1bde1b378d360559a1f076
parent920b3a2e417bab28622002750dde564f09602797
loop: Add cyclic list type

Since we will often cycle through monitors, workspaces, and clients, it
would be beneficial to have a data structure that assists with that.
This commit adds the loop type, which implements a cyclic doubly-linked
list.
loop.c [new file with mode: 0644]
loop.h [new file with mode: 0644]