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:
de6411c
)
hotfixing with sanders hint
author
Anselm R. Garbe
<arg@10kloc.org>
Mon, 4 Sep 2006 15:21:15 +0000
(17:21 +0200)
committer
Anselm R. Garbe
<arg@10kloc.org>
Mon, 4 Sep 2006 15:21:15 +0000
(17:21 +0200)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index 81f4280a4aab62861a5f32e572b8aae756b65e2f..0b5fb2ba0171cce4b98f9d1b5da6f3b8bd466196 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-254,8
+254,10
@@
manage(Window w, XWindowAttributes *wa)
clients = c;
settitle(c);
- if(isvisible(c))
+ if(isvisible(c)) {
+ focus(NULL);
sel = c;
+ }
arrange(NULL);
XMapWindow(dpy, c->win);
XMapWindow(dpy, c->twin);