From 938850a487ee2fd43c9ecba3e0302ef05e9763fe Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 14 Nov 2007 18:19:00 +0100 Subject: [PATCH] rename setlayout to tag_setlayout --- awesomerc | 4 ++-- config.c | 2 +- layout.c | 2 +- layout.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/awesomerc b/awesomerc index 34554abe5..996813bda 100644 --- a/awesomerc +++ b/awesomerc @@ -198,14 +198,14 @@ keys { modkey = {"Mod4"} key = "space" - command = "setlayout" + command = "tag_setlayout" arg = "+1" } key { modkey = {"Mod4", "Shift"} key = "space" - command = "setlayout" + command = "tag_setlayout" arg = "-1" } key diff --git a/config.c b/config.c index 60ef3e745..609e556dc 100644 --- a/config.c +++ b/config.c @@ -80,7 +80,7 @@ const NameFuncLink UicbList[] = { {"tag_view_prev", uicb_tag_viewprev}, {"tag_view_next", uicb_tag_viewnext}, /* layout.c */ - {"setlayout", uicb_setlayout}, + {"tag_setlayout", uicb_tag_setlayout}, {"client_focusnext", uicb_client_focusnext}, {"client_focusprev", uicb_client_focusprev}, {"client_togglemax", uicb_client_togglemax}, diff --git a/layout.c b/layout.c index f1292d85a..07940bb9b 100644 --- a/layout.c +++ b/layout.c @@ -197,7 +197,7 @@ saveawesomeprops(awesome_config *awesomeconf) } void -uicb_setlayout(awesome_config * awesomeconf, +uicb_tag_setlayout(awesome_config * awesomeconf, const char *arg) { int i, j; diff --git a/layout.h b/layout.h index 3c7252469..f65a62327 100644 --- a/layout.h +++ b/layout.h @@ -35,7 +35,7 @@ void saveawesomeprops(awesome_config *); UICB_PROTO(uicb_client_focusnext); UICB_PROTO(uicb_client_focusprev); -UICB_PROTO(uicb_setlayout); +UICB_PROTO(uicb_tag_setlayout); UICB_PROTO(uicb_client_togglemax); UICB_PROTO(uicb_client_toggleverticalmax); UICB_PROTO(uicb_client_togglehorizontalmax);