diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-19 06:01:06 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-19 06:01:06 +0000 |
| commit | 597fad9d8d5b7be27cabeeec750ed15f86377a07 (patch) | |
| tree | 9a8c7e613ed09a7ff0f5333e7bee8768be7ebb35 | |
| parent | 7ea5ffea73c8924ee53b1a24d8db76518efb3fe3 (diff) | |
add focus actions
| -rw-r--r-- | openbox/action.c | 10 | ||||
| -rw-r--r-- | openbox/action.h | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/openbox/action.c b/openbox/action.c index b976a84d..dfcd8d7e 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -36,6 +36,16 @@ void action_execute(union ActionData *data) } } +void action_focus(union ActionData *data) +{ + client_focus(data->client.c); +} + +void action_unfocus (union ActionData *data) +{ + client_unfocus(data->client.c); +} + void action_iconify(union ActionData *data) { client_iconify(data->client.c, TRUE, TRUE); diff --git a/openbox/action.h b/openbox/action.h index 10fa1779..0f277fa8 100644 --- a/openbox/action.h +++ b/openbox/action.h @@ -90,6 +90,10 @@ void action_free(Action *a); /* Execute */ void action_execute(union ActionData *data); /* ClientAction */ +void action_focus(union ActionData *data); +/* ClientAction */ +void action_unfocus(union ActionData *data); +/* ClientAction */ void action_iconify(union ActionData *data); /* ClientAction */ void action_raise(union ActionData *data); |
