diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-08 18:19:04 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-08 18:19:04 +0000 |
| commit | b8e4eecc9f6b69bfc69b694360fb427e6ec800ad (patch) | |
| tree | c4601097436e177fd07e88adfed7d0688155410c | |
| parent | 3fa11ec62b2e22acba071df4dad31de6665ad152 (diff) | |
act on the visibly focused window when that differs from the actual focused window
| -rw-r--r-- | openbox/event.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c index a9841b0e..c744e3ab 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -499,7 +499,11 @@ static void event_process(const XEvent *ec, gpointer data) 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); } } } |
