aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2016-10-06 14:53:52 +0000
committerokan2016-10-06 14:53:52 +0000
commita0e0c901b064b69b7827225878b9cb73a53ae383 (patch)
tree6859a3530af3d3c25863c0f3520c829773ed59ad
parent9d358af1dd11a75cf4778e096df8f52cb1ca690b (diff)
downloadcwm-a0e0c901b064b69b7827225878b9cb73a53ae383.tar.gz
Rename 2 kbfunc to match closer to what they do
Diffstat (limited to '')
-rw-r--r--calmwm.h8
-rw-r--r--conf.c8
-rw-r--r--kbfunc.c6
3 files changed, 11 insertions, 11 deletions
diff --git a/calmwm.h b/calmwm.h
index ac10851..b14dfcb 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -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: calmwm.h,v 1.326 2016/10/06 14:41:19 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.327 2016/10/06 14:53:52 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -459,10 +459,8 @@ void screen_assert_clients_within(struct screen_ctx *);
void kbfunc_client_cycle(struct client_ctx *, union arg *, int);
void kbfunc_client_delete(struct client_ctx *, union arg *, int);
-void kbfunc_client_grouptoggle(struct client_ctx *,
- union arg *, int);
void kbfunc_client_hide(struct client_ctx *, union arg *, int);
-void kbfunc_client_label(struct client_ctx *, union arg *, int);
+void kbfunc_menu_client_label(struct client_ctx *, union arg *, int);
void kbfunc_client_lower(struct client_ctx *, union arg *, int);
void kbfunc_client_move(struct client_ctx *, union arg *, int);
void kbfunc_client_movetogroup(struct client_ctx *,
@@ -471,6 +469,8 @@ void kbfunc_client_raise(struct client_ctx *, union arg *, int);
void kbfunc_client_rcycle(struct client_ctx *, union arg *, int);
void kbfunc_client_resize(struct client_ctx *, union arg *, int);
void kbfunc_client_tile(struct client_ctx *, union arg *, int);
+void kbfunc_client_toggle_group(struct client_ctx *,
+ union arg *, int);
void kbfunc_client_toggle_freeze(struct client_ctx *,
union arg *, int);
void kbfunc_client_toggle_fullscreen(struct client_ctx *,
diff --git a/conf.c b/conf.c
index 224e682..f725060 100644
--- a/conf.c
+++ b/conf.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: conf.c,v 1.215 2016/10/06 14:41:19 okan Exp $
+ * $OpenBSD: conf.c,v 1.216 2016/10/06 14:53:52 okan Exp $
*/
#include <sys/types.h>
@@ -365,7 +365,7 @@ static const struct {
{.i = CWM_CLIENT_CYCLE} },
{ "rcycle", kbfunc_client_cycle, CWM_CONTEXT_SCREEN,
{.i = CWM_CLIENT_RCYCLE} },
- { "label", kbfunc_client_label, CWM_CONTEXT_CLIENT, {0} },
+ { "label", kbfunc_menu_client_label, CWM_CONTEXT_CLIENT, {0} },
{ "delete", kbfunc_client_delete, CWM_CONTEXT_CLIENT, {0} },
{ "group1", kbfunc_group_toggle, CWM_CONTEXT_SCREEN, {.i = 1} },
{ "group2", kbfunc_group_toggle, CWM_CONTEXT_SCREEN, {.i = 2} },
@@ -412,7 +412,7 @@ static const struct {
{.i = (CWM_CLIENT_CYCLE | CWM_CLIENT_CYCLE_INGRP)} },
{ "rcycleingroup", kbfunc_client_cycle, CWM_CONTEXT_CLIENT,
{.i = (CWM_CLIENT_RCYCLE | CWM_CLIENT_CYCLE_INGRP)} },
- { "grouptoggle", kbfunc_client_grouptoggle, CWM_CONTEXT_CLIENT, {0}},
+ { "grouptoggle", kbfunc_client_toggle_group, CWM_CONTEXT_CLIENT, {0} },
{ "stick", kbfunc_client_toggle_sticky, CWM_CONTEXT_CLIENT, {0} },
{ "fullscreen", kbfunc_client_toggle_fullscreen, CWM_CONTEXT_CLIENT,
{0} },
@@ -488,7 +488,7 @@ static const struct {
{ "window_hide", kbfunc_client_hide, CWM_CONTEXT_CLIENT, {0} },
{ "window_move", mousefunc_client_move, CWM_CONTEXT_CLIENT, {0} },
{ "window_resize", mousefunc_client_resize, CWM_CONTEXT_CLIENT, {0} },
- { "window_grouptoggle", kbfunc_client_grouptoggle, CWM_CONTEXT_CLIENT, {0} },
+ { "window_grouptoggle", kbfunc_client_toggle_group, CWM_CONTEXT_CLIENT, {0} },
{ "menu_group", kbfunc_menu_group, CWM_CONTEXT_SCREEN, {0} },
{ "menu_unhide", kbfunc_menu_client, CWM_CONTEXT_SCREEN, {0} },
{ "menu_cmd", kbfunc_menu_cmd, CWM_CONTEXT_SCREEN, {0} },
diff --git a/kbfunc.c b/kbfunc.c
index 347cb93..c687f88 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.130 2016/10/06 14:41:19 okan Exp $
+ * $OpenBSD: kbfunc.c,v 1.131 2016/10/06 14:53:53 okan Exp $
*/
#include <sys/types.h>
@@ -456,7 +456,7 @@ out:
}
void
-kbfunc_client_label(struct client_ctx *cc, union arg *arg, int xev)
+kbfunc_menu_client_label(struct client_ctx *cc, union arg *arg, int xev)
{
struct menu *mi;
struct menu_q menuq;
@@ -505,7 +505,7 @@ kbfunc_group_alltoggle(struct client_ctx *cc, union arg *arg, int xev)
}
void
-kbfunc_client_grouptoggle(struct client_ctx *cc, union arg *arg, int xev)
+kbfunc_client_toggle_group(struct client_ctx *cc, union arg *arg, int xev)
{
if (xev == CWM_KEY) {
/* For X apps that steal events. */