]> git.armaanb.net Git - dwm.git/commitdiff
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 5aa71b7cdd155aec6fe0784f3a8ba1afbfa7e720..c4a705d0419af7cfa20a116d1b646adfaa7553ef 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;