rename some tag_view UI callback functions and add uicb_tag_viewprev uicb_tag_viewnext as bindable
This commit is contained in:
parent
2f43209c34
commit
03ee9ce9d1
|
@ -77,7 +77,9 @@ awesome:
|
|||
(("Mod4", "Shift"), "l", "setnmaster", "-1"),
|
||||
(("Mod4", "Control"), "h", "setncols", "+1"),
|
||||
(("Mod4", "Control"), "l", "setncols", "-1"),
|
||||
(("Mod4"), "Escape", "viewprevtags"),
|
||||
(("Mod4"), "Escape", "view_tag_prev_selected"),
|
||||
(("Mod4", "Control"), "Left", "view_tag_previous"),
|
||||
(("Mod4", "Control"), "Right", "view_tag_next"),
|
||||
(("Mod4"), "m", "togglemax"),
|
||||
(("Mod4"), "t", "settrans", "-5"),
|
||||
(("Mod4", "Shift"), "t", "settrans", "+5"),
|
||||
|
|
4
config.c
4
config.c
|
@ -92,7 +92,9 @@ static const NameFuncLink KeyfuncList[] = {
|
|||
{"toggleview", uicb_toggleview},
|
||||
{"toggletag", uicb_toggletag},
|
||||
{"view", uicb_view},
|
||||
{"viewprevtags", uicb_viewprevtags},
|
||||
{"view_tag_prev_selected", uicb_tag_prev_selected},
|
||||
{"view_tag_previous", uicb_tag_viewprev},
|
||||
{"view_tag_next", uicb_tag_viewnext},
|
||||
/* layout.c */
|
||||
{"setlayout", uicb_setlayout},
|
||||
{"focusnext", uicb_focusnext},
|
||||
|
|
8
tag.c
8
tag.c
|
@ -279,10 +279,10 @@ uicb_view(Display *disp,
|
|||
* \ingroup ui_callback
|
||||
*/
|
||||
void
|
||||
uicb_viewprevtags(Display * disp,
|
||||
DC *drawcontext,
|
||||
awesome_config *awesomeconf,
|
||||
const char *arg __attribute__ ((unused)))
|
||||
uicb_tag_prev_selected(Display * disp,
|
||||
DC *drawcontext,
|
||||
awesome_config *awesomeconf,
|
||||
const char *arg __attribute__ ((unused)))
|
||||
{
|
||||
int i;
|
||||
Bool t;
|
||||
|
|
2
tag.h
2
tag.h
|
@ -36,7 +36,7 @@ void uicb_togglefloating(Display *, DC *, awesome_config *, const char *);
|
|||
void uicb_toggletag(Display *, DC *, awesome_config *, const char *); /* toggles sel tags with arg's index */
|
||||
void uicb_toggleview(Display *, DC *, awesome_config *, const char *); /* toggles the tag with arg's index (in)visible */
|
||||
void uicb_view(Display *, DC *, awesome_config *, const char *); /* views the tag with arg's index */
|
||||
void uicb_viewprevtags(Display *, DC *, awesome_config *, const char *);
|
||||
void uicb_tag_prev_selected(Display *, DC *, awesome_config *, const char *);
|
||||
void uicb_tag_viewnext(Display *, DC *, awesome_config *, const char *); /* view only tag just after the first selected */
|
||||
void uicb_tag_viewprev(Display *, DC *, awesome_config *, const char *); /* view only tag just before the first selected */
|
||||
|
||||
|
|
Loading…
Reference in New Issue