]> git.corax.cc Git - mwm/commit
mwm: Use loopy lists to keep track of workspaces and monitors
authorMatthias Kruk <m@m10k.eu>
Mon, 3 May 2021 21:31:01 +0000 (06:31 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 3 May 2021 21:31:01 +0000 (06:31 +0900)
commit34a6231747e4369b2090560ba12860b0ac7941f4
treeed37787e20de70a56a9790b1c2e592fc972234e2
parentf5ff543f4aa8c75ac9b7345d6a4d213449104b14
mwm: Use loopy lists to keep track of workspaces and monitors

The arrays used by the mwm type to track workspaces and monitors are
not ideal for some operations if they are sparsely populated.
This commit replaces them with cyclic lists.
mwm.c
mwm.h