From: Dana Jansens Date: Wed, 10 Sep 2003 17:12:26 +0000 (+0000) Subject: use the focus client when the client is null for keyboard events X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=7b7bf43fc94ef3ab8c2951d0df83bf116984f413;p=chaz%2Fopenbox use the focus client when the client is null for keyboard events --- 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); } } }