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

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);
}
}
}