On 10/10/07, Anselm R. Garbe <[EMAIL PROTECTED]> 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

Reply via email to