dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit ce9a9934ec7f58398cc62f2653fcccae5fec1853
parent 720b2abe17f13b5822fcfd5ecbca3d20ad982ce7
Author: Anselm R. Garbe <arg@10kloc.org>
Date:   Fri,  6 Oct 2006 14:01:53 +0200

hotfix
Diffstat:
Mview.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/view.c b/view.c
@@ -108,7 +108,7 @@ dotile(void) {
     if(n > 1)
         th /= (n - 1);
 
-    for(i = 0, c = clients; c; c = c->next, i++)
+    for(i = 0, c = clients; c; c = c->next)
         if(isvisible(c)) {
             if(c->isfloat) {
                 resize(c, True, TopLeft);
@@ -139,6 +139,7 @@ dotile(void) {
                     c->h = stackh - 2 * BORDERPX;
             }
             resize(c, False, TopLeft);
+            i++;
         }
         else
             ban(c);