fixed an issue in Peter's patch (it is no good idea to restack() all clients on enternotify()
--- a/dwm.c Sun Sep 30 12:47:08 2007 +0200
+++ b/dwm.c Sun Sep 30 18:33:05 2007 +0200
@@ -648,7 +648,8 @@
return;
if((c = getclient(ev->window))) {
focus(c);
- restack();
+ if(ISTILE && !c->isfloating)
+ restack();
}
else if(ev->window == root) {
selscreen = True;