fixedsize size resetting on attach to floating layer (same is in wmii-3 repo)

This commit is contained in:
Sander van Dijk 2006-05-23 20:14:08 +00:00
parent 769dc6c8ad
commit ee426b3676
1 changed files with 4 additions and 0 deletions

View File

@ -245,6 +245,10 @@ attach_to_area(Area *a, Client *c)
if(a->frame.size)
scale_column(a, a->rect.height - h);
}
else if(c->fixedsize) {
c->rect.width = c->size.min_width;
c->rect.height = c->size.min_height;
}
f = create_frame(a, c);