diff options
author | okan | 2019-03-07 12:54:21 +0000 |
---|---|---|
committer | okan | 2019-03-07 12:54:21 +0000 |
commit | 3ac2ad35ec0bf84d329aff3ee68fd551d4e14fc9 (patch) | |
tree | 48c7480d23f7b3f7401e82845d7c701b187dd504 /kbfunc.c | |
parent | 8d725d1cf917b4ce0bea540b9d029ff067a01afd (diff) | |
download | cwm-3ac2ad35ec0bf84d329aff3ee68fd551d4e14fc9.tar.gz |
shuffle deck chairs: rename group actions to match intent for clarity
Diffstat (limited to 'kbfunc.c')
-rw-r--r-- | kbfunc.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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 <sys/types.h> @@ -428,15 +428,21 @@ kbfunc_client_movetogroup(void *ctx, struct cargs *cargs) } 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 @@ -452,12 +458,6 @@ kbfunc_group_cycle(void *ctx, struct cargs *cargs) } void -kbfunc_group_alltoggle(void *ctx, struct cargs *cargs) -{ - group_alltoggle(ctx); -} - -void kbfunc_menu_client(void *ctx, struct cargs *cargs) { struct screen_ctx *sc = ctx; |