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:
c107db5
)
fixing the issue that new clients appear lowered
author
Anselm R. Garbe
<arg@10kloc.org>
Mon, 4 Sep 2006 15:02:13 +0000
(17:02 +0200)
committer
Anselm R. Garbe
<arg@10kloc.org>
Mon, 4 Sep 2006 15:02:13 +0000
(17:02 +0200)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index 8a8a99eab90ca39d53c48c031ffbacdf159ae16e..81f4280a4aab62861a5f32e572b8aae756b65e2f 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-254,6
+254,8
@@
manage(Window w, XWindowAttributes *wa)
clients = c;
settitle(c);
+ if(isvisible(c))
+ sel = c;
arrange(NULL);
XMapWindow(dpy, c->win);
XMapWindow(dpy, c->twin);