glazier

the original window manipulator
Log | Files | Refs | Submodules | README | LICENSE

commit 7f89b8ceb20ad5ee8385c4b6fde0992029e3eef7
parent ce9d2f09c1234c8f0dd06b789ab8fe572a52b45b
Author: Willy Goiffon <dev@z3bra.org>
Date:   Tue, 22 Oct 2019 20:37:38 +0200

Kill clients on middle click

Diffstat:
glazier.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/glazier.c b/glazier.c @@ -250,6 +250,9 @@ cb_mouse_press(xcb_generic_event_t *ev) curwid = e->event; p = xcb_cursor_load_cursor(cx, XHAIR_MOVE); break; + case 2: + xcb_kill_client(conn, get_child(e->event)); + break; case 3: curwid = e->event; p = xcb_cursor_load_cursor(cx, XHAIR_SIZE);