From: Anselm R. Garbe Date: Sun, 30 Sep 2007 16:33:05 +0000 (+0200) Subject: fixed an issue in Peter's patch (it is no good idea to restack() all clients on enter... X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=635b64384dc8723c46615924eab05412e53e86a5;p=dwm.git fixed an issue in Peter's patch (it is no good idea to restack() all clients on enternotify() --- diff --git a/dwm.c b/dwm.c index 5aa71b7..c4a705d 100644 --- 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;