summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2017-07-12 16:56:26 +0000
committerokan <okan>2017-07-12 16:56:26 +0000
commitaefc0bf0fbbe6c32360f41fc13653d4efd72e73a (patch)
treeb7b5babdf4c03f945ff4dadc084f7685e14db644
parentd179dfdeb97d1f4d16d56ae5783044770d87898c (diff)
downloadcwm-aefc0bf0fbbe6c32360f41fc13653d4efd72e73a.tar.gz
cwm-aefc0bf0fbbe6c32360f41fc13653d4efd72e73a.tar.xz
cwm-aefc0bf0fbbe6c32360f41fc13653d4efd72e73a.zip
rename one function, matching others, to help upcoming change
-rw-r--r--calmwm.h2
-rw-r--r--conf.c2
-rw-r--r--kbfunc.c2
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;