mirror of
https://github.com/pikami/dwm.git
synced 2025-05-06 16:34:52 +01:00
fixed an issue in Peter's patch (it is no good idea to restack() all clients on enternotify()
This commit is contained in:
parent
bedbe59aaa
commit
635b64384d
1
dwm.c
1
dwm.c
@ -648,6 +648,7 @@ enternotify(XEvent *e) {
|
|||||||
return;
|
return;
|
||||||
if((c = getclient(ev->window))) {
|
if((c = getclient(ev->window))) {
|
||||||
focus(c);
|
focus(c);
|
||||||
|
if(ISTILE && !c->isfloating)
|
||||||
restack();
|
restack();
|
||||||
}
|
}
|
||||||
else if(ev->window == root) {
|
else if(ev->window == root) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user