From: Dana Jansens Date: Thu, 9 Oct 2003 19:08:07 +0000 (+0000) Subject: make keyboard events work on the focus_cycle_target again X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=e69da364cc073589b7984e2f1ce5d93f4d919950;p=chaz%2Fopenbox make keyboard events work on the focus_cycle_target again --- diff --git a/openbox/event.c b/openbox/event.c index 45434f25..6df7098e 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -463,8 +463,9 @@ static void event_process(const XEvent *ec, gpointer data) e->type == MotionNotify) mouse_event(client, e); else if (e->type == KeyPress) - keyboard_event((focus_hilite ? - focus_hilite : client), e); + keyboard_event((focus_cycle_target ? focus_cycle_target : + (focus_hilite ? focus_hilite : client)), + e); } } }