use focus_hilite to pick which window gets keyboard events
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
5 deletions(-)
jump to
M
openbox/event.c
→
openbox/event.c
@@ -463,11 +463,8 @@ if (e->type == ButtonPress || e->type == ButtonRelease ||
e->type == MotionNotify) mouse_event(client, e); else if (e->type == KeyPress) - /* when in the middle of a focus cycling action, this - 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); + keyboard_event((focus_hilite ? + focus_hilite : client), e); } } }