Re: [dwm] 4.7 is delayed

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Wed, 7 Nov 2007 09:46:12 +0100

On Mon, Nov 05, 2007 at 07:54:35PM +0100, Sander van Dijk wrote:
> On Nov 5, 2007 6:41 PM, Szabolcs Nagy <nszabolcs_AT_gmail.com> wrote:
> > fwiw, i don't use prevtags at all, but those who use viewprevtags() may use it.
>
> I use viewprevtags() sometimes, but I don't think prevtags should be
> in config.h anyway. Prevtags contains the "previously selected" tags,
> and there aren't any at startup time.
> Anyway, since dwm would probably misbehave when a client is created
> when no tag is selected, it should at least be clear that there has to
> be at least one selected and one prev tag configured. It may be safer
> to remove both from config.h (does anybody set them to something else
> than their default values?).

prevtags can be defined statically in viewprevtags().
However, the point of having seltags in config.h is that they
can be accessed from 3rd-partie patches as well. I agree on the
LENGTH macro definition, which can be moved to dwm.c.

Regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Wed Nov 07 2007 - 09:46:13 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:05:26 UTC