mirror of https://github.com/0intro/wmii
Prevent crash when dragging window to the bottom of the column it's already in
This commit is contained in:
parent
dc1b8042ab
commit
88277eb6c7
|
@ -289,8 +289,10 @@ horiz:
|
|||
resize_frame(f->aprev, f->aprev->r);
|
||||
}
|
||||
|
||||
detach_from_area(f);
|
||||
attach_to_area(fw->ra, f);
|
||||
if (fw->ra != f->area) {
|
||||
detach_from_area(f);
|
||||
attach_to_area(fw->ra, f);
|
||||
}
|
||||
|
||||
if(f->aprev) {
|
||||
f->aprev->r.max.y = fw->fr.min.y;
|
||||
|
|
Loading…
Reference in New Issue