mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-11 13:29:57 -05:00
feat: support option focus_cross_tag
This commit is contained in:
parent
a2d216300e
commit
f0afd9b61b
3 changed files with 13 additions and 0 deletions
7
maomao.c
7
maomao.c
|
|
@ -1906,6 +1906,13 @@ void focusdir(const Arg *arg) {
|
|||
focusclient(c, 1);
|
||||
if (warpcursor)
|
||||
warp_cursor(c);
|
||||
} else {
|
||||
if (config.focus_cross_tag) {
|
||||
if (arg->i == LEFT || arg->i == UP)
|
||||
viewtoleft_have_client(NULL);
|
||||
if (arg->i == RIGHT || arg->i == DOWN)
|
||||
viewtoright_have_client(NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue