Make sure that c->sel is set on create_frame

This commit is contained in:
Kris Maglione 2007-02-10 14:24:05 -05:00
parent 702801addc
commit d3b2f7a80a

View File

@ -18,6 +18,7 @@ create_frame(Client *c, View *v) {
f->rect = c->sel->rect;
}
else{
c->sel = f;
f->revert = f->rect = c->rect;
f->revert.width = f->rect.width += 2 * def.border;
f->revert.height = f->rect.height += def.border + labelh(&def.font);