From 635b64384dc8723c46615924eab05412e53e86a5 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Sun, 30 Sep 2007 18:33:05 +0200 Subject: fixed an issue in Peter's patch (it is no good idea to restack() all clients on enternotify() --- dwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index 5aa71b7c..c4a705d0 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; -- cgit v1.2.3