all repos — dwm @ a82cba275981ecd85e68cc68b169c89f79fa60db

my dwm build

fixed applyrules bug
Anselm R Garbe garbeam@gmail.com
Tue, 04 Mar 2008 18:13:07 +0000
commit

a82cba275981ecd85e68cc68b169c89f79fa60db

parent

f7c097e8029c7d0dc00db52fc04a2b8192fc2bc9

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M dwm.cdwm.c

@@ -1002,8 +1002,6 @@ c = emallocz(sizeof(Client));

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 @@ if((rettrans = XGetTransientForHint(dpy, w, &trans) == Success))

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);