mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-18 14:33:09 -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;
|
continue;
|
||||||
if (c->isunglobal)
|
if (c->isunglobal)
|
||||||
continue;
|
continue;
|
||||||
|
if (c->is_monocle_hide)
|
||||||
|
continue;
|
||||||
if (!config.focus_cross_monitor && c->mon != tc->mon)
|
if (!config.focus_cross_monitor && c->mon != tc->mon)
|
||||||
continue;
|
continue;
|
||||||
if (!(c->tags & c->mon->tagset[c->mon->seltags]))
|
if (!(c->tags & c->mon->tagset[c->mon->seltags]))
|
||||||
|
|
@ -310,7 +312,7 @@ Client *direction_select(const Arg *arg) {
|
||||||
Client *focustop(Monitor *m) {
|
Client *focustop(Monitor *m) {
|
||||||
Client *c = NULL;
|
Client *c = NULL;
|
||||||
wl_list_for_each(c, &fstack, flink) {
|
wl_list_for_each(c, &fstack, flink) {
|
||||||
if (c->iskilling || c->isunglobal)
|
if (c->iskilling || c->isunglobal || c->is_monocle_hide)
|
||||||
continue;
|
continue;
|
||||||
if (VISIBLEON(c, m))
|
if (VISIBLEON(c, m))
|
||||||
return c;
|
return c;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue