rename is_tag_match_rules() to tag_match_rule()

This commit is contained in:
Julien Danjou 2008-01-12 22:49:27 +01:00
parent 804033dbbe
commit 29740269ec
3 changed files with 3 additions and 4 deletions

View File

@ -87,7 +87,7 @@ client_match_rule(Client *c, Rule *r)
}
Bool
is_tag_match_rules(Tag *t, Rule *r)
tag_match_rule(Tag *t, Rule *r)
{
regmatch_t tmp;
@ -97,7 +97,6 @@ is_tag_match_rules(Tag *t, Rule *r)
return False;
}
RuleFloat
rules_get_float_from_str(const char *str)
{

View File

@ -28,7 +28,7 @@
regex_t * rules_compile_regex(char *);
Bool client_match_rule(Client *, Rule *);
Bool is_tag_match_rules(Tag *, Rule *);
Bool tag_match_rule(Tag *, Rule *);
RuleFloat rules_get_float_from_str(const char *);
#endif

2
tag.c
View File

@ -120,7 +120,7 @@ tag_client_with_rules(Client *c)
move_client_to_screen(c, r->screen, True);
for(tag = globalconf.screens[c->screen].tags; tag; tag = tag->next)
if(is_tag_match_rules(tag, r))
if(tag_match_rule(tag, r))
{
matched = True;
tag_client(c, tag);