all repos — openbox @ b8e4eecc9f6b69bfc69b694360fb427e6ec800ad

openbox fork - make it a bit more like ryudo

act on the visibly focused window when that differs from the actual focused window
Dana Jansens danakj@orodu.net
commit

b8e4eecc9f6b69bfc69b694360fb427e6ec800ad

parent

3fa11ec62b2e22acba071df4dad31de6665ad152

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

jump to
M openbox/event.copenbox/event.c

@@ -499,7 +499,11 @@ if (e->type == ButtonPress || e->type == ButtonRelease ||

e->type == MotionNotify) mouse_event(client, context, e); else if (e->type == KeyPress) - keyboard_event(client, e); + /* 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); } } }