]> Dogcows Code - chaz/openbox/blob - openbox/actions/kill.c
Add a focus option, unfocusOnLeave that removes focus from a window when the pointer...
[chaz/openbox] / openbox / actions / kill.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_kill_startup(void)
7 {
8 actions_register("Kill",
9 NULL, NULL,
10 run_func);
11 }
12
13 /* Always return FALSE because its not interactive */
14 static gboolean run_func(ObActionsData *data, gpointer options)
15 {
16 if (data->client)
17 client_kill(data->client);
18
19 return FALSE;
20 }
This page took 0.031659 seconds and 4 git commands to generate.