Commit 635b643

Anselm R. Garbe <garbeam@gmail.com>
2007-09-30 12:33:05
fixed an issue in Peter's patch (it is no good idea to restack() all clients on enternotify()
1 parent bedbe59
Changed files (1)
dwm.c
@@ -648,7 +648,8 @@ enternotify(XEvent *e) {
 		return;
 	if((c = getclient(ev->window))) {
 		focus(c);
-		restack();
+		if(ISTILE && !c->isfloating)
+			restack();
 	}
 	else if(ev->window == root) {
 		selscreen = True;