diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-10-09 19:08:07 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-10-09 19:08:07 +0000 |
| commit | e69da364cc073589b7984e2f1ce5d93f4d919950 (patch) | |
| tree | 84f07c52151b3c4cc030c5d2ef728a3011a34496 /openbox | |
| parent | 0ba8c17565a7d3bb7f376ba5d072e0b70e96dec1 (diff) | |
make keyboard events work on the focus_cycle_target again
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/event.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); } } } |
