]> Dogcows Code - chaz/openbox/blob - openbox/actions/close.c
37260e1315093d29073f979351c1f4e36554d0ad
[chaz/openbox] / openbox / actions / close.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_close_startup()
7 {
8 actions_register("Close",
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) client_close(data->client);
18
19 return FALSE;
20 }
This page took 0.033158 seconds and 3 git commands to generate.