diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-09-30 18:33:05 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-09-30 18:33:05 +0200 |
commit | 635b64384dc8723c46615924eab05412e53e86a5 (patch) | |
tree | 01f7c7f0e1cca7a8aef7e641ab0cb8dc229c10cb /dwm.c | |
parent | bedbe59aaac1651643e9084fd5cdeb0883ea40e4 (diff) | |
download | dwm-635b64384dc8723c46615924eab05412e53e86a5.tar.gz |
fixed an issue in Peter's patch (it is no good idea to restack() all clients on enternotify()
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |