prefix a bunch of uicb with client_
This commit is contained in:
parent
6c0608660d
commit
aee9cdf8cb
|
@ -218,13 +218,13 @@ keys
|
||||||
{
|
{
|
||||||
modkey = {"Mod4"}
|
modkey = {"Mod4"}
|
||||||
key = "j"
|
key = "j"
|
||||||
command = "focusnext"
|
command = "client_focusnext"
|
||||||
}
|
}
|
||||||
key
|
key
|
||||||
{
|
{
|
||||||
modkey = {"Mod4"}
|
modkey = {"Mod4"}
|
||||||
key = "k"
|
key = "k"
|
||||||
command = "focusprev"
|
command = "client_focusprev"
|
||||||
}
|
}
|
||||||
key
|
key
|
||||||
{
|
{
|
||||||
|
@ -314,7 +314,7 @@ keys
|
||||||
{
|
{
|
||||||
modkey = {"Mod4"}
|
modkey = {"Mod4"}
|
||||||
key = "m"
|
key = "m"
|
||||||
command = "togglemax"
|
command = "client_togglemax"
|
||||||
}
|
}
|
||||||
key
|
key
|
||||||
{
|
{
|
||||||
|
|
12
config.c
12
config.c
|
@ -81,12 +81,12 @@ const NameFuncLink UicbList[] = {
|
||||||
{"tag_view_next", uicb_tag_viewnext},
|
{"tag_view_next", uicb_tag_viewnext},
|
||||||
/* layout.c */
|
/* layout.c */
|
||||||
{"setlayout", uicb_setlayout},
|
{"setlayout", uicb_setlayout},
|
||||||
{"focusnext", uicb_focusnext},
|
{"client_focusnext", uicb_client_focusnext},
|
||||||
{"focusprev", uicb_focusprev},
|
{"client_focusprev", uicb_client_focusprev},
|
||||||
{"togglemax", uicb_togglemax},
|
{"client_togglemax", uicb_client_togglemax},
|
||||||
{"toggleverticalmax", uicb_toggleverticalmax},
|
{"client_toggleverticalmax", uicb_client_toggleverticalmax},
|
||||||
{"togglehorizontalmax", uicb_togglehorizontalmax},
|
{"client_togglehorizontalmax", uicb_client_togglehorizontalmax},
|
||||||
{"zoom", uicb_zoom},
|
{"client_zoom", uicb_client_zoom},
|
||||||
/* layouts/tile.c */
|
/* layouts/tile.c */
|
||||||
{"setmwfact", uicb_setmwfact},
|
{"setmwfact", uicb_setmwfact},
|
||||||
{"setnmaster", uicb_setnmaster},
|
{"setnmaster", uicb_setnmaster},
|
||||||
|
|
12
layout.c
12
layout.c
|
@ -82,7 +82,7 @@ get_current_layout(Tag *tags, int ntags)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
uicb_focusnext(awesome_config * awesomeconf,
|
uicb_client_focusnext(awesome_config * awesomeconf,
|
||||||
const char *arg __attribute__ ((unused)))
|
const char *arg __attribute__ ((unused)))
|
||||||
{
|
{
|
||||||
Client *c, *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
|
Client *c, *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
|
||||||
|
@ -100,7 +100,7 @@ uicb_focusnext(awesome_config * awesomeconf,
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
uicb_focusprev(awesome_config *awesomeconf,
|
uicb_client_focusprev(awesome_config *awesomeconf,
|
||||||
const char *arg __attribute__ ((unused)))
|
const char *arg __attribute__ ((unused)))
|
||||||
{
|
{
|
||||||
Client *c, *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
|
Client *c, *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
|
||||||
|
@ -251,7 +251,7 @@ maximize(int x, int y, int w, int h, awesome_config *awesomeconf)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
uicb_togglemax(awesome_config *awesomeconf,
|
uicb_client_togglemax(awesome_config *awesomeconf,
|
||||||
const char *arg __attribute__ ((unused)))
|
const char *arg __attribute__ ((unused)))
|
||||||
{
|
{
|
||||||
ScreenInfo *si = get_screen_info(awesomeconf->display, awesomeconf->screen, &awesomeconf->statusbar);
|
ScreenInfo *si = get_screen_info(awesomeconf->display, awesomeconf->screen, &awesomeconf->statusbar);
|
||||||
|
@ -264,7 +264,7 @@ uicb_togglemax(awesome_config *awesomeconf,
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
uicb_toggleverticalmax(awesome_config *awesomeconf,
|
uicb_client_toggleverticalmax(awesome_config *awesomeconf,
|
||||||
const char *arg __attribute__ ((unused)))
|
const char *arg __attribute__ ((unused)))
|
||||||
{
|
{
|
||||||
Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
|
Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
|
||||||
|
@ -281,7 +281,7 @@ uicb_toggleverticalmax(awesome_config *awesomeconf,
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
uicb_togglehorizontalmax(awesome_config *awesomeconf,
|
uicb_client_togglehorizontalmax(awesome_config *awesomeconf,
|
||||||
const char *arg __attribute__ ((unused)))
|
const char *arg __attribute__ ((unused)))
|
||||||
{
|
{
|
||||||
Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
|
Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
|
||||||
|
@ -297,7 +297,7 @@ uicb_togglehorizontalmax(awesome_config *awesomeconf,
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
uicb_zoom(awesome_config *awesomeconf,
|
uicb_client_zoom(awesome_config *awesomeconf,
|
||||||
const char *arg __attribute__ ((unused)))
|
const char *arg __attribute__ ((unused)))
|
||||||
{
|
{
|
||||||
Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
|
Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
|
||||||
|
|
12
layout.h
12
layout.h
|
@ -33,13 +33,13 @@ void restack(awesome_config *);
|
||||||
void loadawesomeprops(awesome_config *);
|
void loadawesomeprops(awesome_config *);
|
||||||
void saveawesomeprops(awesome_config *);
|
void saveawesomeprops(awesome_config *);
|
||||||
|
|
||||||
UICB_PROTO(uicb_focusnext);
|
UICB_PROTO(uicb_client_focusnext);
|
||||||
UICB_PROTO(uicb_focusprev);
|
UICB_PROTO(uicb_client_focusprev);
|
||||||
UICB_PROTO(uicb_setlayout);
|
UICB_PROTO(uicb_setlayout);
|
||||||
UICB_PROTO(uicb_togglemax);
|
UICB_PROTO(uicb_client_togglemax);
|
||||||
UICB_PROTO(uicb_toggleverticalmax);
|
UICB_PROTO(uicb_client_toggleverticalmax);
|
||||||
UICB_PROTO(uicb_togglehorizontalmax);
|
UICB_PROTO(uicb_client_togglehorizontalmax);
|
||||||
UICB_PROTO(uicb_zoom);
|
UICB_PROTO(uicb_client_zoom);
|
||||||
|
|
||||||
#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
|
||||||
|
|
Loading…
Reference in New Issue