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"} modkey = {"Mod4"}
key = "h" key = "h"
command = "setmwfact" command = "tag_setmwfact"
arg = "-0.05" arg = "-0.05"
} }
key key
{ {
modkey = {"Mod4"} modkey = {"Mod4"}
key = "l" key = "l"
command = "setmwfact" command = "tag_setmwfact"
arg = "+0.05" arg = "+0.05"
} }
key key
{ {
modkey = {"Mod4", "Shift"} modkey = {"Mod4", "Shift"}
key = "h" key = "h"
command = "setnmaster" command = "tag_setnmaster"
arg = "+1" arg = "+1"
} }
key key
{ {
modkey = {"Mod4", "Shift"} modkey = {"Mod4", "Shift"}
key = "l" key = "l"
command = "setnmaster" command = "tag_setnmaster"
arg = "-1" arg = "-1"
} }
key key
{ {
modkey = {"Mod4", "Control"} modkey = {"Mod4", "Control"}
key = "h" key = "h"
command = "setncol" command = "tag_setncol"
arg = "+1" arg = "+1"
} }
key key
{ {
modkey = {"Mod4", "Control"} modkey = {"Mod4", "Control"}
key = "l" key = "l"
command = "setncol" command = "tag_setncol"
arg = "-1" arg = "-1"
} }
key key

View File

@ -88,9 +88,9 @@ const NameFuncLink UicbList[] = {
{"client_togglehorizontalmax", uicb_client_togglehorizontalmax}, {"client_togglehorizontalmax", uicb_client_togglehorizontalmax},
{"client_zoom", uicb_client_zoom}, {"client_zoom", uicb_client_zoom},
/* layouts/tile.c */ /* layouts/tile.c */
{"setmwfact", uicb_setmwfact}, {"tag_setmwfact", uicb_tag_setmwfact},
{"setnmaster", uicb_setnmaster}, {"tag_setnmaster", uicb_tag_setnmaster},
{"setncol", uicb_setncol}, {"tag_setncol", uicb_tag_setncol},
/* screen.c */ /* screen.c */
{"focusnextscreen", uicb_focusnextscreen}, {"focusnextscreen", uicb_focusnextscreen},
{"focusprevscreen", uicb_focusprevscreen}, {"focusprevscreen", uicb_focusprevscreen},

View File

@ -29,8 +29,8 @@
#include "layouts/tile.h" #include "layouts/tile.h"
void void
uicb_setnmaster(awesome_config *awesomeconf, uicb_tag_setnmaster(awesome_config *awesomeconf,
const char * arg) const char * arg)
{ {
Tag *curtag = get_current_tag(awesomeconf->tags, awesomeconf->ntags); Tag *curtag = get_current_tag(awesomeconf->tags, awesomeconf->ntags);
Layout *curlay = curtag->layout; Layout *curlay = curtag->layout;
@ -45,8 +45,8 @@ uicb_setnmaster(awesome_config *awesomeconf,
} }
void void
uicb_setncol(awesome_config *awesomeconf, uicb_tag_setncol(awesome_config *awesomeconf,
const char * arg) const char * arg)
{ {
Tag *curtag = get_current_tag(awesomeconf->tags, awesomeconf->ntags); Tag *curtag = get_current_tag(awesomeconf->tags, awesomeconf->ntags);
Layout *curlay = curtag->layout; Layout *curlay = curtag->layout;
@ -61,8 +61,8 @@ uicb_setncol(awesome_config *awesomeconf,
} }
void void
uicb_setmwfact(awesome_config * awesomeconf, uicb_tag_setmwfact(awesome_config * awesomeconf,
const char *arg) const char *arg)
{ {
char *newarg; char *newarg;
Tag *curtag = get_current_tag(awesomeconf->tags, awesomeconf->ntags); Tag *curtag = get_current_tag(awesomeconf->tags, awesomeconf->ntags);

View File

@ -28,9 +28,9 @@
LAYOUT_PROTO(layout_tile); LAYOUT_PROTO(layout_tile);
LAYOUT_PROTO(layout_tileleft); LAYOUT_PROTO(layout_tileleft);
UICB_PROTO(uicb_setnmaster); UICB_PROTO(uicb_tag_setnmaster);
UICB_PROTO(uicb_setncol); UICB_PROTO(uicb_tag_setncol);
UICB_PROTO(uicb_setmwfact); UICB_PROTO(uicb_tag_setmwfact);
#endif #endif
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99