mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-05 13:29:54 -05:00
opt: inunglobal win not in focusstack target
This commit is contained in:
parent
2275e22837
commit
f235384c0f
1 changed files with 2 additions and 2 deletions
|
|
@ -3991,7 +3991,7 @@ focusstack(const Arg *arg) {
|
||||||
return;
|
return;
|
||||||
if (arg->i > 0) {
|
if (arg->i > 0) {
|
||||||
wl_list_for_each(c, &sel->link, link) {
|
wl_list_for_each(c, &sel->link, link) {
|
||||||
if (&c->link == &clients)
|
if (&c->link == &clients || c->isunglobal)
|
||||||
continue; /* wrap past the sentinel node */
|
continue; /* wrap past the sentinel node */
|
||||||
if (VISIBLEON(c, selmon))
|
if (VISIBLEON(c, selmon))
|
||||||
break; /* found it */
|
break; /* found it */
|
||||||
|
|
@ -4000,7 +4000,7 @@ focusstack(const Arg *arg) {
|
||||||
wl_list_for_each_reverse(c, &sel->link, link) {
|
wl_list_for_each_reverse(c, &sel->link, link) {
|
||||||
if (&c->link == &clients)
|
if (&c->link == &clients)
|
||||||
continue; /* wrap past the sentinel node */
|
continue; /* wrap past the sentinel node */
|
||||||
if (VISIBLEON(c, selmon))
|
if (VISIBLEON(c, selmon) || c->isunglobal)
|
||||||
break; /* found it */
|
break; /* found it */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue