From 29740269ecc1e5424fba1fd070d2e5c5eb9bc599 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 12 Jan 2008 22:49:27 +0100 Subject: [PATCH] rename is_tag_match_rules() to tag_match_rule() --- rules.c | 3 +-- rules.h | 2 +- tag.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/rules.c b/rules.c index 702ad2fe..27ada4d5 100644 --- a/rules.c +++ b/rules.c @@ -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) { diff --git a/rules.h b/rules.h index 2664eb93..31f99111 100644 --- a/rules.h +++ b/rules.h @@ -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 diff --git a/tag.c b/tag.c index a5ec11a7..50481780 100644 --- a/tag.c +++ b/tag.c @@ -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);