diff options
author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-14 16:37:55 +0200 |
---|---|---|
committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-14 16:37:55 +0200 |
commit | 666fae97e67810089ffbddd019d655bc4f9f7838 (patch) | |
tree | 8be5b0250d63dc5894d33c497789b802364adc5f /client.c | |
parent | 823fb1118a30ae18a41650cf650df6b67861130b (diff) | |
download | dwm-666fae97e67810089ffbddd019d655bc4f9f7838.tar.gz |
added some flicker prevention
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |