From 7b7bf43fc94ef3ab8c2951d0df83bf116984f413 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 10 Sep 2003 17:12:26 +0000 Subject: [PATCH] use the focus client when the client is null for keyboard events --- openbox/event.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbox/event.c b/openbox/event.c index 2d47fd32..b5ad2924 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -500,7 +500,8 @@ static void event_process(const XEvent *ec, gpointer data) causes the window which appears to be focused to be the one on which the actions will be executed */ keyboard_event((focus_cycle_target ? - focus_cycle_target : client), e); + focus_cycle_target : + (client ? client : focus_client)), e); } } } -- 2.45.2