On 10/10/07, Anselm R. Garbe <arg_AT_suckless.org> wrote:
> Client struct looks like before. However I kept the static
> initialization of ntags, seltags and the newly introduced
> prevtags. This means that third-party patches may access any
> variable except the latter ones (actually I see no reason why
> you want to access seltags, prevtags or ntags from a patch). The
> tagging approach is quite central to dwm and needs no additions
> in my opinion.
well you can do
unsigned int ntags;
#include "config.h"
unsigned int ntags = sizeof tags / sizeof tags[0];
so one can access ntags
and same goes for nlayouts.
i don't know if it worth the extra line though
Received on Wed Oct 10 2007 - 19:30:09 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:59:06 UTC