mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -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 {
|
||||
if (config.focus_cross_tag) {
|
||||
if (arg->i == LEFT || arg->i == UP)
|
||||
viewtoleft_have_client(NULL);
|
||||
viewtoleft_have_client(&(Arg){0});
|
||||
if (arg->i == RIGHT || arg->i == DOWN)
|
||||
viewtoright_have_client(NULL);
|
||||
viewtoright_have_client(&(Arg){0});
|
||||
} else if (config.focus_cross_monitor) {
|
||||
focusmon(arg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue