Mercurial > aewl
changeset 283:134804791d73
added some flicker prevention
author | Anselm R.Garbe <arg@10ksloc.org> |
---|---|
date | Mon, 14 Aug 2006 16:37:55 +0200 (2006-08-14) |
parents | 74d00f634ee2 |
children | 5f5c56e104de |
files | client.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client.c Mon Aug 14 16:26:06 2006 +0200 +++ b/client.c Mon Aug 14 16:37:55 2006 +0200 @@ -262,11 +262,13 @@ 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