author | Anselm R Garbe <garbeam@gmail.com> |
Tue, 04 Mar 2008 18:13:07 +0000 | |
changeset 1115 | 61f7a3e134e9 |
parent 1114 | 31b3935773cb |
child 1116 | 73ef516a4a88 |
--- a/dwm.c Mon Mar 03 21:40:37 2008 +0000 +++ b/dwm.c Tue Mar 04 18:13:07 2008 +0000 @@ -1002,8 +1002,6 @@ c->tags = emallocz(TAGSZ); c->win = w; - applyrules(c); - c->x = wa->x + sx; c->y = wa->y + sy; c->w = wa->width; @@ -1038,6 +1036,8 @@ for(t = clients; t && t->win != trans; t = t->next); if(t) memcpy(c->tags, t->tags, TAGSZ); + else + applyrules(c); if(!c->isfloating) c->isfloating = (rettrans == Success) || c->isfixed; attach(c);