diff --git a/ewmh.c b/ewmh.c index 4369e150f..aa4e5eecb 100644 --- a/ewmh.c +++ b/ewmh.c @@ -310,7 +310,7 @@ ewmh_process_client_message(XClientMessageEvent *ev) if(ev->message_type == net_current_desktop) for(screen = 0; screen < ScreenCount(globalconf.display); screen++) if(ev->window == RootWindow(globalconf.display, screen)) - tag_view(screen, ev->data.l[0]); + tag_view_byindex(screen, ev->data.l[0]); if(ev->message_type == net_close_window) { diff --git a/tag.c b/tag.c index 93dedc5b3..898425400 100644 --- a/tag.c +++ b/tag.c @@ -273,7 +273,7 @@ uicb_tag_toggleview(int screen, char *arg) } void -tag_view(int screen, int dindex) +tag_view_byindex(int screen, int dindex) { Tag *target_tag, *tag; @@ -305,7 +305,7 @@ uicb_tag_view(int screen, char *arg) Tag *tag; if(arg) - tag_view(screen, atoi(arg) - 1); + tag_view_byindex(screen, atoi(arg) - 1); else { for(tag = globalconf.screens[screen].tags; tag; tag = tag->next) diff --git a/tag.h b/tag.h index cb2186364..d0e8c0d0c 100644 --- a/tag.h +++ b/tag.h @@ -33,7 +33,7 @@ void untag_client(Client *, Tag *); Bool is_client_tagged(Client *, Tag *); void tag_client_with_current_selected(Client *); void tag_client_with_rules(Client *); -void tag_view(int, int); +void tag_view_byindex(int, int); Uicb uicb_client_tag; Uicb uicb_client_toggletag; diff --git a/widgets/tasklist.c b/widgets/tasklist.c index 553eda01e..10c4e1b8a 100644 --- a/widgets/tasklist.c +++ b/widgets/tasklist.c @@ -190,7 +190,7 @@ tasklist_button_press(Widget *widget, XButtonPressedEvent *ev) if(!client_isvisible(c, widget->statusbar->screen)) for(i = 0, tag = globalconf.screens[c->screen].tags; tag; tag = tag->next, i++) if(is_client_tagged(c, tag)) - tag_view(c->screen, i); + tag_view_byindex(c->screen, i); focus(c, True, widget->statusbar->screen); }