On 9/22/06, Anselm R. Garbe <[EMAIL PROTECTED]> wrote:
On Fri, Sep 22, 2006 at 03:17:51PM +0200, Jukka Salmi wrote:
> diff -r 0db173d7e59c view.c
> --- a/view.c  Fri Sep 22 14:02:41 2006 +0200
> +++ b/view.c  Fri Sep 22 14:59:45 2006 +0200
> @@ -102,14 +102,8 @@ dotile(Arg *arg) {
>
>       w = sw - mw;
>       for(n = 0, c = clients; c; c = c->next)
> -             if(isvisible(c)) {
> -                     if(c->isfloat) {
> -                             if(c->ismax)
> -                                     togglemax(c);
> -                     }
> -                     else
> -                             n++;
> -             }
> +             if(isvisible(c) && !c->isfloat)
> +                     n++;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Is this really intended?

I think it is, since the amount of tiled clients needs to be known
further on. Note that now that there is the nexttiled() function this
counting part could be simplified a bit (the way it's done now is the
way it was done long before nexttiled() already).

Gr. Sander.

Reply via email to