fix keyboard focus

This commit is contained in:
Akos Horvath 2022-09-19 11:31:53 +02:00
parent ed673097b6
commit 1efe8fe1eb

6
wm.c
View File

@ -904,10 +904,12 @@ void wm_kb_switch_ws(Wm *wm, Arg *args)
void wm_kb_focus_dir(Wm *wm, Arg *args)
{
Client *c;
RETURN_IF_NULL(args)
RETURN_IF_NULL(args->c)
c = wm_client_get_focused(wm);
wm_client_focus_dir(wm, args->c, args->i);
wm_client_focus_dir(wm, c, args->i);
}
void wm_keybinds_init_def(Wm *wm)