get_client_screen_from_rules() is not needed; deleting

This commit is contained in:
Julien Danjou 2007-11-13 22:50:54 +01:00
parent a0ea5bf734
commit 3d7cfe4e5b
2 changed files with 0 additions and 13 deletions

12
rules.c
View File

@ -78,18 +78,6 @@ client_match_rule(Client *c, Rule *r)
return ret; return ret;
} }
int
get_client_screen_from_rules(Client *c, Rule *rules)
{
Rule *r;
for(r = rules; r; r = r->next)
if(client_match_rule(c, r))
return r->screen;
return RULE_NOSCREEN;
}
Bool Bool
is_tag_match_rules(Tag *t, Rule *r) is_tag_match_rules(Tag *t, Rule *r)
{ {

View File

@ -28,7 +28,6 @@
void compileregs(Rule *); void compileregs(Rule *);
Bool client_match_rule(Client *, Rule *); Bool client_match_rule(Client *, Rule *);
int get_client_screen_from_rules(Client *, Rule *);
Bool is_tag_match_rules(Tag *, Rule *); Bool is_tag_match_rules(Tag *, Rule *);
#endif #endif