Xinqi Bao's Git
projects
/
dwm.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
c107db5
)
fixing the issue that new clients appear lowered
author
Anselm R. Garbe <
[email protected]
>
Mon, 4 Sep 2006 15:02:13 +0000
(17:02 +0200)
committer
Anselm R. Garbe <
[email protected]
>
Mon, 4 Sep 2006 15:02:13 +0000
(17:02 +0200)
client.c
diff
|
blob
|
history
diff --git
a/client.c
b/client.c
index
8a8a99e
..
81f4280
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-254,6
+254,8
@@
manage(Window w, XWindowAttributes *wa)
clients = c;
settitle(c);
clients = c;
settitle(c);
+ if(isvisible(c))
+ sel = c;
arrange(NULL);
XMapWindow(dpy, c->win);
XMapWindow(dpy, c->twin);
arrange(NULL);
XMapWindow(dpy, c->win);
XMapWindow(dpy, c->twin);