mirror of
https://github.com/0intro/wmii
synced 2025-01-11 12:49:38 +03:00
fixed south resizals in col
This commit is contained in:
parent
40d708969a
commit
faa3f31a0d
@ -251,7 +251,7 @@ static void drop_resize(Frame *f, XRectangle *new)
|
||||
resize_frame(north, &north->rect, nil);
|
||||
resize_frame(f, &f->rect, nil);
|
||||
}
|
||||
if (south && (new->y + new->height > f->rect.y + f->rect.height)) {
|
||||
if (south && (new->y + new->height != f->rect.y + f->rect.height)) {
|
||||
south->rect.height -= new->y + new->height - south->rect.y;
|
||||
south->rect.y = new->y + new->height;
|
||||
f->rect.y = new->y;
|
||||
|
Loading…
Reference in New Issue
Block a user