summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-03-04 18:13:07 +0000
committerAnselm R Garbe <garbeam@gmail.com>2008-03-04 18:13:07 +0000
commita82cba275981ecd85e68cc68b169c89f79fa60db (patch)
treeef364f46102c3a952cd57faff38e16a38ea42796
parentremoved View cruft, now back to the roots (diff)
downloaddwm-a82cba275981ecd85e68cc68b169c89f79fa60db.tar.gz
dwm-a82cba275981ecd85e68cc68b169c89f79fa60db.zip
fixed applyrules bug
Diffstat (limited to '')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 018f929..897eeb4 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1002,8 +1002,6 @@ manage(Window w, XWindowAttributes *wa) {
1002 c->tags = emallocz(TAGSZ); 1002 c->tags = emallocz(TAGSZ);
1003 c->win = w; 1003 c->win = w;
1004 1004
1005 applyrules(c);
1006
1007 c->x = wa->x + sx; 1005 c->x = wa->x + sx;
1008 c->y = wa->y + sy; 1006 c->y = wa->y + sy;
1009 c->w = wa->width; 1007 c->w = wa->width;
@@ -1038,6 +1036,8 @@ manage(Window w, XWindowAttributes *wa) {
1038 for(t = clients; t && t->win != trans; t = t->next); 1036 for(t = clients; t && t->win != trans; t = t->next);
1039 if(t) 1037 if(t)
1040 memcpy(c->tags, t->tags, TAGSZ); 1038 memcpy(c->tags, t->tags, TAGSZ);
1039 else
1040 applyrules(c);
1041 if(!c->isfloating) 1041 if(!c->isfloating)
1042 c->isfloating = (rettrans == Success) || c->isfixed; 1042 c->isfloating = (rettrans == Success) || c->isfixed;
1043 attach(c); 1043 attach(c);