diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-01 02:57:53 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-01 02:57:53 +0000 |
| commit | 1b0a66dcfff539fe973280f94d4e97f4591c64f8 (patch) | |
| tree | 92366a8dbd7467118dabbb85a45b6950d2f57423 /openbox/action.c | |
| parent | 0621e22932b40ada705abbeb67b67c0e37ef7654 (diff) | |
add flash action
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openbox/action.c b/openbox/action.c index 6e750d6f..00e87b24 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -705,6 +705,11 @@ ActionString actionstrings[] = NULL }, { + "flash", + action_flash, + NULL + }, + { NULL, NULL, NULL @@ -1268,3 +1273,9 @@ void action_vibrate(union ActionData *data) } } } + +void action_flash(union ActionData *data) +{ + if (!data->client.any.c) return; + frame_flash(data->client.any.c->frame); +} |
