mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-20 14:33:14 -04:00
opt: focus select exclude monocle hide client
This commit is contained in:
parent
347f994ed0
commit
304e5a6a61
1 changed files with 3 additions and 1 deletions
|
|
@ -188,6 +188,8 @@ Client *find_client_by_direction(Client *tc, const Arg *arg,
|
||||||
continue;
|
continue;
|
||||||
if (!findfloating && c->isfloating)
|
if (!findfloating && c->isfloating)
|
||||||
continue;
|
continue;
|
||||||
|
if (c->is_monocle_hide)
|
||||||
|
continue;
|
||||||
if (c->isunglobal)
|
if (c->isunglobal)
|
||||||
continue;
|
continue;
|
||||||
if (c->is_monocle_hide)
|
if (c->is_monocle_hide)
|
||||||
|
|
@ -442,7 +444,7 @@ Client *get_focused_stack_client(Client *sc, Client *custom_focus_client) {
|
||||||
return sc;
|
return sc;
|
||||||
|
|
||||||
wl_list_for_each(tc, &fstack, flink) {
|
wl_list_for_each(tc, &fstack, flink) {
|
||||||
if (tc->iskilling || tc->isunglobal)
|
if (tc->iskilling || tc->isunglobal || tc->is_monocle_hide)
|
||||||
continue;
|
continue;
|
||||||
if (!VISIBLEON(tc, sc->mon))
|
if (!VISIBLEON(tc, sc->mon))
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue