mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-05 04:06:28 -05:00
opt: not focus isunglobal window when focusstack
This commit is contained in:
parent
0edcd32271
commit
5ee43c302a
1 changed files with 6 additions and 0 deletions
|
|
@ -396,6 +396,9 @@ Client *get_next_stack_client(Client *c, bool reverse) {
|
|||
if (&next->link == &clients)
|
||||
continue; /* wrap past the sentinel node */
|
||||
|
||||
if (next->isunglobal)
|
||||
continue;
|
||||
|
||||
if (next != c && next->mon && VISIBLEON(next, c->mon))
|
||||
return next;
|
||||
}
|
||||
|
|
@ -404,6 +407,9 @@ Client *get_next_stack_client(Client *c, bool reverse) {
|
|||
if (&next->link == &clients)
|
||||
continue; /* wrap past the sentinel node */
|
||||
|
||||
if (next->isunglobal)
|
||||
continue;
|
||||
|
||||
if (next != c && next->mon && VISIBLEON(next, c->mon))
|
||||
return next;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue