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

View File

@ -254,6 +254,8 @@ manage(Window w, XWindowAttributes *wa)
clients = c; clients = c;
settitle(c); settitle(c);
if(isvisible(c))
sel = c;
arrange(NULL); arrange(NULL);
XMapWindow(dpy, c->win); XMapWindow(dpy, c->win);
XMapWindow(dpy, c->twin); XMapWindow(dpy, c->twin);