diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-10 17:12:26 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-10 17:12:26 +0000 |
| commit | 7b7bf43fc94ef3ab8c2951d0df83bf116984f413 (patch) | |
| tree | c52f9722b8378de15a479390041b5d59bb1b6a78 /openbox | |
| parent | 396eb330ac99708de781b6ef192cfda0a1afe720 (diff) | |
use the focus client when the client is null for keyboard events
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/event.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c index 2d47fd32..b5ad2924 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -500,7 +500,8 @@ static void event_process(const XEvent *ec, gpointer data) 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); + focus_cycle_target : + (client ? client : focus_client)), e); } } } |
