]> icculus.org git repositories - dana/openbox.git/blob - openbox/actions/kill.c
Rename ObActions* to ObAction* and remove more 3.4-compat action stuff that was missed.
[dana/openbox.git] / openbox / actions / kill.c
1 #include "openbox/action.h"
2 #include "openbox/client.h"
3
4 static gboolean run_func(ObActionData *data, gpointer options);
5
6 void action_kill_startup(void)
7 {
8     action_register("Kill", NULL, NULL, run_func);
9 }
10
11 /* Always return FALSE because its not interactive */
12 static gboolean run_func(ObActionData *data, gpointer options)
13 {
14     if (data->client)
15         client_kill(data->client);
16
17     return FALSE;
18 }