From 9b514b3b6165c80cfe7152c2088a97765f6c82f4 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 22 Mar 2003 06:58:38 +0000 Subject: add the client_kill function, and the kill action, and bind it to the middle mouse button on the close button. --- openbox/client.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openbox/client.c') diff --git a/openbox/client.c b/openbox/client.c index c35c62db..bb3b3767 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1652,6 +1652,11 @@ void client_close(Client *self) XSendEvent(ob_display, self->window, FALSE, NoEventMask, &ce); } +void client_kill(Client *self) +{ + XKillClient(ob_display, self->window); +} + void client_set_desktop(Client *self, guint target) { guint old, i; -- cgit v1.2.3