On 27 October 2016 at 12:34, Markus Teich <markus.te...@stusta.mhn.de> wrote: > Anselm R Garbe wrote: >> Why wouldn't dwm just work fine without this change, if editing config.h >> would >> incorporate assigning SchemeLast with a value instead? Then all the nasty >> heap allocation would become unnecessary. > > that would be the other option I considered. I choose the heap one to reduce > config.h complexity. You would have to make sure SchemeLast and the size of > `colors` stay the same manually which is more error prone than letting the > code > figure it out. However if you think that is a better option, I'd adapt the > patch > accordingly.
I prefer requiring SchemeLast = N. -Anselm