mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-31 22:25:29 -04:00
fix: crash when use focus_cross_tag
This commit is contained in:
parent
fa444a52d1
commit
df96f252b7
1 changed files with 2 additions and 2 deletions
|
|
@ -97,9 +97,9 @@ void focusdir(const Arg *arg) {
|
||||||
} else {
|
} else {
|
||||||
if (config.focus_cross_tag) {
|
if (config.focus_cross_tag) {
|
||||||
if (arg->i == LEFT || arg->i == UP)
|
if (arg->i == LEFT || arg->i == UP)
|
||||||
viewtoleft_have_client(NULL);
|
viewtoleft_have_client(&(Arg){0});
|
||||||
if (arg->i == RIGHT || arg->i == DOWN)
|
if (arg->i == RIGHT || arg->i == DOWN)
|
||||||
viewtoright_have_client(NULL);
|
viewtoright_have_client(&(Arg){0});
|
||||||
} else if (config.focus_cross_monitor) {
|
} else if (config.focus_cross_monitor) {
|
||||||
focusmon(arg);
|
focusmon(arg);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue