From 9074c9cd66b698e7ee616d67964b5ff015a167ca Mon Sep 17 00:00:00 2001 From: Alessio Molinari Date: Sat, 20 Sep 2025 11:31:15 +0200 Subject: [PATCH] feature(focusdir): if no client and focus_cross_monitor, focus monitor --- src/dispatch/bind_define.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dispatch/bind_define.h b/src/dispatch/bind_define.h index eb0dc41..5ce425f 100644 --- a/src/dispatch/bind_define.h +++ b/src/dispatch/bind_define.h @@ -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); } } }