From 7327a92972df08797cec5cddc196953605e7b8ca Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 15 Dec 2007 09:02:49 +0100 Subject: [PATCH] untag everything on rules applying --- tag.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tag.c b/tag.c index cad96a16..f8075df9 100644 --- a/tag.c +++ b/tag.c @@ -122,6 +122,8 @@ tag_client_with_rules(Client *c, awesome_config *awesomeconf) matched = True; tag_client(&awesomeconf->screens[c->screen].tclink, c, tag); } + else + untag_client(&awesomeconf->screens[c->screen].tclink, c, tag); if(!matched) tag_client_with_current_selected(c, &awesomeconf->screens[c->screen]);