fixed an issue in Peter's patch (it is no good idea to restack() all clients on enter...
authorAnselm R. Garbe <garbeam@gmail.com>
Sun, 30 Sep 2007 16:33:05 +0000 (18:33 +0200)
committerAnselm R. Garbe <garbeam@gmail.com>
Sun, 30 Sep 2007 16:33:05 +0000 (18:33 +0200)
dwm.c

diff --git a/dwm.c b/dwm.c
index 5aa71b7..c4a705d 100644 (file)
--- a/dwm.c
+++ b/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;