aboutsummaryrefslogtreecommitdiffstats
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan2019-03-07 12:54:21 +0000
committerokan2019-03-07 12:54:21 +0000
commit3ac2ad35ec0bf84d329aff3ee68fd551d4e14fc9 (patch)
tree48c7480d23f7b3f7401e82845d7c701b187dd504 /kbfunc.c
parent8d725d1cf917b4ce0bea540b9d029ff067a01afd (diff)
downloadcwm-3ac2ad35ec0bf84d329aff3ee68fd551d4e14fc9.tar.gz
shuffle deck chairs: rename group actions to match intent for clarity
Diffstat (limited to 'kbfunc.c')
-rw-r--r--kbfunc.c20
1 files changed, 10 insertions, 10 deletions
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 <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;