untag everything on rules applying

This commit is contained in:
Julien Danjou 2007-12-15 09:02:49 +01:00
parent e205a144cc
commit 7327a92972
1 changed files with 2 additions and 0 deletions

2
tag.c
View File

@ -122,6 +122,8 @@ tag_client_with_rules(Client *c, awesome_config *awesomeconf)
matched = True; matched = True;
tag_client(&awesomeconf->screens[c->screen].tclink, c, tag); tag_client(&awesomeconf->screens[c->screen].tclink, c, tag);
} }
else
untag_client(&awesomeconf->screens[c->screen].tclink, c, tag);
if(!matched) if(!matched)
tag_client_with_current_selected(c, &awesomeconf->screens[c->screen]); tag_client_with_current_selected(c, &awesomeconf->screens[c->screen]);