use the focus client when the client is null for keyboard events

This commit is contained in:
Dana Jansens 2003-09-10 17:12:26 +00:00
parent 396eb330ac
commit 7b7bf43fc9

View file

@ -500,7 +500,8 @@ static void event_process(const XEvent *ec, gpointer data)
causes the window which appears to be focused to be causes the window which appears to be focused to be
the one on which the actions will be executed */ the one on which the actions will be executed */
keyboard_event((focus_cycle_target ? keyboard_event((focus_cycle_target ?
focus_cycle_target : client), e); focus_cycle_target :
(client ? client : focus_client)), e);
} }
} }
} }