Re: [hackers] [dwm] [PATCH] decouple color-scheme count from dwm.c

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Thu, 27 Oct 2016 13:53:32 +0200

On 27 October 2016 at 12:34, Markus Teich <markus.teich_AT_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
Received on Thu Oct 27 2016 - 13:53:32 CEST

This archive was generated by hypermail 2.3.0 : Thu Oct 27 2016 - 14:00:18 CEST