On Mon, Nov 05, 2007 at 07:54:35PM +0100, Sander van Dijk wrote: > On Nov 5, 2007 6:41 PM, Szabolcs Nagy <[EMAIL PROTECTED]> 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
