all repos — openbox @ 0ba8c17565a7d3bb7f376ba5d072e0b70e96dec1

openbox fork - make it a bit more like ryudo

use focus_hilite to pick which window gets keyboard events
Dana Jansens danakj@orodu.net
commit

0ba8c17565a7d3bb7f376ba5d072e0b70e96dec1

parent

04ab35aa140fe418d8d5c256011c3b59dea51adf

1 files changed, 2 insertions(+), 5 deletions(-)

jump to
M openbox/event.copenbox/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); } } }