pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7c097e
)
fixed applyrules bug
author
Anselm R Garbe
<garbeam@gmail.com>
Tue, 4 Mar 2008 18:13:07 +0000
(18:13 +0000)
committer
Anselm R Garbe
<garbeam@gmail.com>
Tue, 4 Mar 2008 18:13:07 +0000
(18:13 +0000)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
018f929
..
897eeb4
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1002,8
+1002,6
@@
manage(Window w, XWindowAttributes *wa) {
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
@@
manage(Window w, XWindowAttributes *wa) {
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);