Merge pull request #249 from levnikmyskin/main

If focus_cross_monitor is enabled focusdir focuses the monitor if no clients available
This commit is contained in:
DreamMaoMao 2025-09-20 19:18:11 +08:00 committed by GitHub
commit e5f6f9e415
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,6 +86,8 @@ void focusdir(const Arg *arg) {
viewtoleft_have_client(NULL);
if (arg->i == RIGHT || arg->i == DOWN)
viewtoright_have_client(NULL);
} else if (config.focus_cross_monitor) {
focusmon(arg);
}
}
}