commit ee426b367622971ccfb15c4ac6a9bb7918d7d8e8
parent 769dc6c8ad0857ead6e2a5c72eda70598abb9b6a
Author: Sander van Dijk <sander@wmii.de>
Date: Tue, 23 May 2006 20:14:08 +0000
fixedsize size resetting on attach to floating layer (same is in wmii-3 repo)
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/cmd/wm/area.c b/cmd/wm/area.c
@@ -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);