mirror of https://github.com/0intro/wmii
Fix moves within the same column (broken since 2206).
This commit is contained in:
parent
f99d66b076
commit
62da446cc1
|
@ -289,7 +289,11 @@ horiz:
|
|||
resize_frame(f->aprev, f->aprev->r);
|
||||
}
|
||||
|
||||
if (fw->ra != f->area) {
|
||||
if (f->aprev || f->anext) {
|
||||
remove_frame(f);
|
||||
f->area = fw->ra;
|
||||
insert_frame(fw->fp, f);
|
||||
} else if (f->area != fw->ra) {
|
||||
detach_from_area(f);
|
||||
attach_to_area(fw->ra, f);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue