From 3ac2ad35ec0bf84d329aff3ee68fd551d4e14fc9 Mon Sep 17 00:00:00 2001 From: okan Date: Thu, 7 Mar 2019 12:54:21 +0000 Subject: shuffle deck chairs: rename group actions to match intent for clarity --- kbfunc.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kbfunc.c') diff --git a/kbfunc.c b/kbfunc.c index 2971f3b..9ae59f1 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.163 2019/03/04 19:28:18 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.164 2019/03/07 12:54:21 okan Exp $ */ #include @@ -427,16 +427,22 @@ kbfunc_client_movetogroup(void *ctx, struct cargs *cargs) group_movetogroup(ctx, cargs->flag); } +void +kbfunc_group_only(void *ctx, struct cargs *cargs) +{ + group_only(ctx, cargs->flag); +} + void kbfunc_group_toggle(void *ctx, struct cargs *cargs) { - group_hidetoggle(ctx, cargs->flag); + group_toggle(ctx, cargs->flag); } void -kbfunc_group_only(void *ctx, struct cargs *cargs) +kbfunc_group_toggle_all(void *ctx, struct cargs *cargs) { - group_only(ctx, cargs->flag); + group_toggle_all(ctx); } void @@ -451,12 +457,6 @@ kbfunc_group_cycle(void *ctx, struct cargs *cargs) group_cycle(ctx, cargs->flag); } -void -kbfunc_group_alltoggle(void *ctx, struct cargs *cargs) -{ - group_alltoggle(ctx); -} - void kbfunc_menu_client(void *ctx, struct cargs *cargs) { -- cgit v1.2.3-2-gb3c3