summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-09-30 18:33:05 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-09-30 18:33:05 +0200
commit635b64384dc8723c46615924eab05412e53e86a5 (patch)
tree01f7c7f0e1cca7a8aef7e641ab0cb8dc229c10cb /dwm.c
parentapplied Peter Hartlich's border collapse patch (diff)
downloaddwm-635b64384dc8723c46615924eab05412e53e86a5.tar.gz
dwm-635b64384dc8723c46615924eab05412e53e86a5.zip
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.c3
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) {
648 return; 648 return;
649 if((c = getclient(ev->window))) { 649 if((c = getclient(ev->window))) {
650 focus(c); 650 focus(c);
651 restack(); 651 if(ISTILE && !c->isfloating)
652 restack();
652 } 653 }
653 else if(ev->window == root) { 654 else if(ev->window == root) {
654 selscreen = True; 655 selscreen = True;