added some flicker prevention

This commit is contained in:
Anselm R.Garbe 2006-08-14 16:37:55 +02:00
parent 823fb1118a
commit 666fae97e6
1 changed files with 3 additions and 1 deletions

View File

@ -262,11 +262,13 @@ manage(Window w, XWindowAttributes *wa)
c->maxw == c->minw && c->maxh == c->minh);
settitle(c);
if(isvisible(c))
sel = c;
arrange(NULL);
XMapWindow(dpy, c->win);
XMapWindow(dpy, c->title);
if(isvisible(c))
focus(c);
arrange(NULL);
}
void