mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00: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 changed files with 2 additions and 1 deletions
3
dwm.c
3
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;
|
||||
|
|
Loading…
Reference in a new issue