diff --git a/rules.c b/rules.c index 490bf696..07fdb41e 100644 --- a/rules.c +++ b/rules.c @@ -78,18 +78,6 @@ client_match_rule(Client *c, Rule *r) 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 is_tag_match_rules(Tag *t, Rule *r) { diff --git a/rules.h b/rules.h index 05145682..d6422ddc 100644 --- a/rules.h +++ b/rules.h @@ -28,7 +28,6 @@ void compileregs(Rule *); Bool client_match_rule(Client *, Rule *); -int get_client_screen_from_rules(Client *, Rule *); Bool is_tag_match_rules(Tag *, Rule *); #endif