summaryrefslogtreecommitdiff
path: root/openbox/action.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-22 06:58:38 +0000
committerDana Jansens <danakj@orodu.net>2003-03-22 06:58:38 +0000
commit9b514b3b6165c80cfe7152c2088a97765f6c82f4 (patch)
treed85de6a62807386ad9ff0275e1e6b2c7f58a9f78 /openbox/action.c
parentd59db115520d7175b181c53d179c3ddb97c3139f (diff)
add the client_kill function, and the kill action, and bind it to the middle mouse button on the close button.
Diffstat (limited to 'openbox/action.c')
-rw-r--r--openbox/action.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/action.c b/openbox/action.c
index 6a86cf33..3e463d66 100644
--- a/openbox/action.c
+++ b/openbox/action.c
@@ -73,6 +73,11 @@ void action_close(union ActionData *data)
client_close(data->client.c);
}
+void action_kill(union ActionData *data)
+{
+ client_kill(data->client.c);
+}
+
void action_shade(union ActionData *data)
{
client_shade(data->client.c, TRUE);