all repos — openbox @ 1b0a66dcfff539fe973280f94d4e97f4591c64f8

openbox fork - make it a bit more like ryudo

add flash action
Dana Jansens danakj@orodu.net
commit

1b0a66dcfff539fe973280f94d4e97f4591c64f8

parent

0621e22932b40ada705abbeb67b67c0e37ef7654

2 files changed, 13 insertions(+), 0 deletions(-)

jump to
M openbox/action.copenbox/action.c

@@ -705,6 +705,11 @@ action_vibrate,

NULL }, { + "flash", + action_flash, + NULL + }, + { NULL, NULL, NULL

@@ -1268,3 +1273,9 @@ x += 1;

} } } + +void action_flash(union ActionData *data) +{ + if (!data->client.any.c) return; + frame_flash(data->client.any.c->frame); +}
M openbox/action.hopenbox/action.h

@@ -246,5 +246,7 @@ /* Any */

void action_unshow_desktop(union ActionData *data); /* Client */ void action_vibrate(union ActionData *data); +/* Client */ +void action_flash(union ActionData *data); #endif