|
|
@ -57,14 +57,12 @@ dofloat(Arg *arg)
|
|
|
|
else
|
|
|
|
else
|
|
|
|
ban(c);
|
|
|
|
ban(c);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(sel && !sel->tags[tsel]) {
|
|
|
|
if((sel = getnext(clients))) {
|
|
|
|
if((sel = getnext(clients))) {
|
|
|
|
higher(sel);
|
|
|
|
higher(sel);
|
|
|
|
focus(sel);
|
|
|
|
focus(sel);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
|
|
|
|
drawall();
|
|
|
|
drawall();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -122,14 +120,12 @@ dotile(Arg *arg)
|
|
|
|
else
|
|
|
|
else
|
|
|
|
ban(c);
|
|
|
|
ban(c);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(!sel || (sel && !sel->tags[tsel])) {
|
|
|
|
if((sel = getnext(clients))) {
|
|
|
|
if((sel = getnext(clients))) {
|
|
|
|
higher(sel);
|
|
|
|
higher(sel);
|
|
|
|
focus(sel);
|
|
|
|
focus(sel);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
|
|
|
|
drawall();
|
|
|
|
drawall();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|