diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-12 06:04:00 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-12 06:04:00 +0000 |
| commit | 85a1a0cfb3e6f57b37d7a7b83132698b2d6cdee3 (patch) | |
| tree | 2a564932c24677d129fe7b88243f15652297b4ce /openbox/action.c | |
| parent | 6b7cc88c9d4ae2019f3b8fcd300dd3069f2bc680 (diff) | |
don't validate inside client_focus. instead, validate before you call it!
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/action.c b/openbox/action.c index 097eaf8d..73eadf8d 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1164,7 +1164,8 @@ void action_focus(union ActionData *data) moving on us */ event_halt_focus_delay(); - client_focus(data->client.any.c); + if (client_validate(data->client.any.c)) + client_focus(data->client.any.c); } } |
