feature(focusdir): if no client and focus_cross_monitor, focus monitor

This commit is contained in:
Alessio Molinari 2025-09-20 11:31:15 +02:00
parent da68edcbb6
commit 9074c9cd66
No known key found for this signature in database

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