fixing the issue that new clients appear lowered

This commit is contained in:
Anselm R. Garbe 2006-09-04 17:02:13 +02:00
parent c107db57db
commit e316cf53f6
1 changed files with 2 additions and 0 deletions

View File

@ -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);