]> Dogcows Code - chaz/openbox/blob - openbox/actions/highlight.c
add a highlight action
[chaz/openbox] / openbox / actions / highlight.c
1 #include "openbox/actions.h"
2 #include "openbox/client.h"
3
4 static gboolean run_func(ObActionsData *data, gpointer options);
5
6 void action_highlight_startup()
7 {
8 actions_register("Highlight",
9 NULL, NULL,
10 run_func,
11 NULL, NULL);
12 }
13
14 /* Always return FALSE because its not interactive */
15 static gboolean run_func(ObActionsData *data, gpointer options)
16 {
17 if (data->client)
18 client_hilite(data->client, TRUE);
19
20 return FALSE;
21 }
This page took 0.035197 seconds and 4 git commands to generate.