From 85adc07d19d223ec105a1cd11f84da7875a0da5d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 14 Nov 2007 18:12:33 +0100 Subject: [PATCH] rename uicb_set* to uicb_tag_set* since they apply on tags --- awesomerc | 12 ++++++------ config.c | 6 +++--- layouts/tile.c | 12 ++++++------ layouts/tile.h | 6 +++--- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/awesomerc b/awesomerc index cf0e4cbf..1a013289 100644 --- a/awesomerc +++ b/awesomerc @@ -254,42 +254,42 @@ keys { modkey = {"Mod4"} key = "h" - command = "setmwfact" + command = "tag_setmwfact" arg = "-0.05" } key { modkey = {"Mod4"} key = "l" - command = "setmwfact" + command = "tag_setmwfact" arg = "+0.05" } key { modkey = {"Mod4", "Shift"} key = "h" - command = "setnmaster" + command = "tag_setnmaster" arg = "+1" } key { modkey = {"Mod4", "Shift"} key = "l" - command = "setnmaster" + command = "tag_setnmaster" arg = "-1" } key { modkey = {"Mod4", "Control"} key = "h" - command = "setncol" + command = "tag_setncol" arg = "+1" } key { modkey = {"Mod4", "Control"} key = "l" - command = "setncol" + command = "tag_setncol" arg = "-1" } key diff --git a/config.c b/config.c index aaef34e4..6917ad21 100644 --- a/config.c +++ b/config.c @@ -88,9 +88,9 @@ const NameFuncLink UicbList[] = { {"client_togglehorizontalmax", uicb_client_togglehorizontalmax}, {"client_zoom", uicb_client_zoom}, /* layouts/tile.c */ - {"setmwfact", uicb_setmwfact}, - {"setnmaster", uicb_setnmaster}, - {"setncol", uicb_setncol}, + {"tag_setmwfact", uicb_tag_setmwfact}, + {"tag_setnmaster", uicb_tag_setnmaster}, + {"tag_setncol", uicb_tag_setncol}, /* screen.c */ {"focusnextscreen", uicb_focusnextscreen}, {"focusprevscreen", uicb_focusprevscreen}, diff --git a/layouts/tile.c b/layouts/tile.c index d592d0ef..7f2a962b 100644 --- a/layouts/tile.c +++ b/layouts/tile.c @@ -29,8 +29,8 @@ #include "layouts/tile.h" void -uicb_setnmaster(awesome_config *awesomeconf, - const char * arg) +uicb_tag_setnmaster(awesome_config *awesomeconf, + const char * arg) { Tag *curtag = get_current_tag(awesomeconf->tags, awesomeconf->ntags); Layout *curlay = curtag->layout; @@ -45,8 +45,8 @@ uicb_setnmaster(awesome_config *awesomeconf, } void -uicb_setncol(awesome_config *awesomeconf, - const char * arg) +uicb_tag_setncol(awesome_config *awesomeconf, + const char * arg) { Tag *curtag = get_current_tag(awesomeconf->tags, awesomeconf->ntags); Layout *curlay = curtag->layout; @@ -61,8 +61,8 @@ uicb_setncol(awesome_config *awesomeconf, } void -uicb_setmwfact(awesome_config * awesomeconf, - const char *arg) +uicb_tag_setmwfact(awesome_config * awesomeconf, + const char *arg) { char *newarg; Tag *curtag = get_current_tag(awesomeconf->tags, awesomeconf->ntags); diff --git a/layouts/tile.h b/layouts/tile.h index 605d5b41..957792c5 100644 --- a/layouts/tile.h +++ b/layouts/tile.h @@ -28,9 +28,9 @@ LAYOUT_PROTO(layout_tile); LAYOUT_PROTO(layout_tileleft); -UICB_PROTO(uicb_setnmaster); -UICB_PROTO(uicb_setncol); -UICB_PROTO(uicb_setmwfact); +UICB_PROTO(uicb_tag_setnmaster); +UICB_PROTO(uicb_tag_setncol); +UICB_PROTO(uicb_tag_setmwfact); #endif // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99