From 8f7c934cef0f223e5fc0d06b2f0cba386b5b8fd8 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 25 Feb 2019 16:40:49 +0000 Subject: Add 'group-close-[n]' action to close all windows within specified group. heavily based on a diff from Nam Nguyen. --- kbfunc.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'kbfunc.c') diff --git a/kbfunc.c b/kbfunc.c index cb6c65d..699676e 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: kbfunc.c,v 1.161 2019/02/22 19:40:33 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.162 2019/02/25 16:40:49 okan Exp $ */ #include @@ -440,6 +440,12 @@ kbfunc_group_only(void *ctx, struct cargs *cargs) group_only(ctx, cargs->flag); } +void +kbfunc_group_close(void *ctx, struct cargs *cargs) +{ + group_close(ctx, cargs->flag); +} + void kbfunc_group_cycle(void *ctx, struct cargs *cargs) { -- cgit v1.2.3-2-gb3c3