get_client_screen_from_rules() is not needed; deleting
This commit is contained in:
parent
a0ea5bf734
commit
3d7cfe4e5b
12
rules.c
12
rules.c
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
1
rules.h
1
rules.h
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue