projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
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 018f929c7f6caf1bde03532ed97919ab940e1653..897eeb4b86c6c5e60cf3a5ac1838f66263e719ff 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);