From aefc0bf0fbbe6c32360f41fc13653d4efd72e73a Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 12 Jul 2017 16:56:26 +0000 Subject: rename one function, matching others, to help upcoming change --- calmwm.h | 2 +- conf.c | 2 +- kbfunc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/calmwm.h b/calmwm.h index 193c0b5..b898a45 100644 --- a/calmwm.h +++ b/calmwm.h @@ -488,7 +488,7 @@ void kbfunc_menu_cmd(void *, struct cargs *); void kbfunc_menu_group(void *, struct cargs *); void kbfunc_menu_exec(void *, struct cargs *); void kbfunc_menu_ssh(void *, struct cargs *); -void kbfunc_menu_client_label(void *, struct cargs *); +void kbfunc_client_menu_label(void *, struct cargs *); void kbfunc_exec_cmd(void *, struct cargs *); void kbfunc_exec_lock(void *, struct cargs *); void kbfunc_exec_term(void *, struct cargs *); diff --git a/conf.c b/conf.c index ac89516..b67b78c 100644 --- a/conf.c +++ b/conf.c @@ -60,7 +60,7 @@ static const struct { enum context context; int flag; } name_to_func[] = { - { "window-menu-label", kbfunc_menu_client_label, CWM_CONTEXT_CC, 0 }, + { "window-menu-label", kbfunc_client_menu_label, CWM_CONTEXT_CC, 0 }, { "window-lower", kbfunc_client_lower, CWM_CONTEXT_CC, 0 }, { "window-raise", kbfunc_client_raise, CWM_CONTEXT_CC, 0 }, { "window-hide", kbfunc_client_hide, CWM_CONTEXT_CC, 0 }, diff --git a/kbfunc.c b/kbfunc.c index c9847f9..7c3cbf0 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -522,7 +522,7 @@ out: } void -kbfunc_menu_client_label(void *ctx, struct cargs *cargs) +kbfunc_client_menu_label(void *ctx, struct cargs *cargs) { struct client_ctx *cc = ctx; struct menu *mi; -- cgit 1.4.1