dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 666fae97e67810089ffbddd019d655bc4f9f7838
parent 823fb1118a30ae18a41650cf650df6b67861130b
Author: Anselm R.Garbe <arg@10ksloc.org>
Date:   Mon, 14 Aug 2006 16:37:55 +0200

added some flicker prevention

Diffstat:
Mclient.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/client.c b/client.c
@@ -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