rename uicb_set* to uicb_tag_set* since they apply on tags

This commit is contained in:
Julien Danjou 2007-11-14 18:12:33 +01:00
parent aee9cdf8cb
commit 85adc07d19
4 changed files with 18 additions and 18 deletions

View File

@ -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

View File

@ -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},

View File

@ -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);

View File

@ -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