Fix bug in regexp tags. Thanks Michael Stapelberg.

This commit is contained in:
Kris Maglione 2009-01-28 18:32:13 -05:00
parent 38509b577b
commit 5d4e0266c0
1 changed files with 3 additions and 8 deletions

View File

@ -125,15 +125,10 @@ view_destroy(View *v) {
*vp = v->next;
assert(v != v->next);
/* FIXME: Can do better */
/* Detach frames held here by regex tags. */
for(a=v->floating; a; a=an) {
an = a->next;
for(f=a->frame; f; f=fn) {
fn = f->anext;
apply_tags(f->client, f->client->tags);
}
}
/* FIXME: Can do better. */
foreach_frame(v, s, a, f)
apply_tags(f->client, f->client->tags);
foreach_area(v, s, a)
area_destroy(a);