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:
1b2e149
)
simplified manage
author
Anselm R. Garbe
<arg@10kloc.org>
Mon, 4 Sep 2006 15:39:33 +0000
(17:39 +0200)
committer
Anselm R. Garbe
<arg@10kloc.org>
Mon, 4 Sep 2006 15:39:33 +0000
(17:39 +0200)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index 0b5fb2ba0171cce4b98f9d1b5da6f3b8bd466196..4f2a69cf4df733914254f493e018575a712abac1 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-254,15
+254,12
@@
manage(Window w, XWindowAttributes *wa)
clients = c;
settitle(c);
- if(isvisible(c)) {
- focus(NULL);
- sel = c;
- }
- arrange(NULL);
+ ban(c);
XMapWindow(dpy, c->win);
XMapWindow(dpy, c->twin);
if(isvisible(c))
focus(c);
+ arrange(NULL);
}
void