fixed an issue in Peter's patch (it is no good idea to restack() all clients on enternotify()
parent
bedbe59aaa
commit
635b64384d
3
dwm.c
3
dwm.c
|
@ -648,7 +648,8 @@ enternotify(XEvent *e) {
|
||||||
return;
|
return;
|
||||||
if((c = getclient(ev->window))) {
|
if((c = getclient(ev->window))) {
|
||||||
focus(c);
|
focus(c);
|
||||||
restack();
|
if(ISTILE && !c->isfloating)
|
||||||
|
restack();
|
||||||
}
|
}
|
||||||
else if(ev->window == root) {
|
else if(ev->window == root) {
|
||||||
selscreen = True;
|
selscreen = True;
|
||||||
|
|
Loading…
Reference in New Issue