mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-17 14:33:18 -04:00
opt: direction find exclude monocle hide client
This commit is contained in:
parent
27df2ea469
commit
46f2dd293b
1 changed files with 3 additions and 1 deletions
|
|
@ -190,6 +190,8 @@ Client *find_client_by_direction(Client *tc, const Arg *arg,
|
|||
continue;
|
||||
if (c->isunglobal)
|
||||
continue;
|
||||
if (c->is_monocle_hide)
|
||||
continue;
|
||||
if (!config.focus_cross_monitor && c->mon != tc->mon)
|
||||
continue;
|
||||
if (!(c->tags & c->mon->tagset[c->mon->seltags]))
|
||||
|
|
@ -310,7 +312,7 @@ Client *direction_select(const Arg *arg) {
|
|||
Client *focustop(Monitor *m) {
|
||||
Client *c = NULL;
|
||||
wl_list_for_each(c, &fstack, flink) {
|
||||
if (c->iskilling || c->isunglobal)
|
||||
if (c->iskilling || c->isunglobal || c->is_monocle_hide)
|
||||
continue;
|
||||
if (VISIBLEON(c, m))
|
||||
return c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue