From 3d7cfe4e5b941151e5d7ef210c7a89196c33352f Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 13 Nov 2007 22:50:54 +0100 Subject: [PATCH] get_client_screen_from_rules() is not needed; deleting --- rules.c | 12 ------------ rules.h | 1 - 2 files changed, 13 deletions(-) diff --git a/rules.c b/rules.c index 490bf6961..07fdb41e4 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 051456823..d6422ddc1 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