add flash action

This commit is contained in:
Dana Jansens 2003-09-01 02:57:53 +00:00
parent 0621e22932
commit 1b0a66dcff
2 changed files with 13 additions and 0 deletions

View file

@ -704,6 +704,11 @@ ActionString actionstrings[] =
action_vibrate,
NULL
},
{
"flash",
action_flash,
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);
}

View file

@ -246,5 +246,7 @@ void action_show_desktop(union ActionData *data);
void action_unshow_desktop(union ActionData *data);
/* Client */
void action_vibrate(union ActionData *data);
/* Client */
void action_flash(union ActionData *data);
#endif