fixed an issue in Peter's patch (it is no good idea to restack() all clients on enternotify()

This commit is contained in:
Anselm R. Garbe 2007-09-30 18:33:05 +02:00
parent bedbe59aaa
commit 635b64384d

3
dwm.c
View File

@ -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;