diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-22 06:58:38 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-22 06:58:38 +0000 |
| commit | 9b514b3b6165c80cfe7152c2088a97765f6c82f4 (patch) | |
| tree | d85de6a62807386ad9ff0275e1e6b2c7f58a9f78 /openbox/client.c | |
| parent | d59db115520d7175b181c53d179c3ddb97c3139f (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/client.c')
| -rw-r--r-- | openbox/client.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |
