--- deliantra/Deliantra-Client/DC/UI.pm 2006/06/04 00:16:01 1.276 +++ deliantra/Deliantra-Client/DC/UI.pm 2006/06/04 00:21:52 1.277 @@ -1162,8 +1162,8 @@ $self->{force_w} = $bw + $dx * ($mx ? -1 : 1); $self->{force_h} = $bh + $dy * ($my ? -1 : 1); - $self->realloc; $self->move_abs ($wx + $dx * $mx, $wy + $dy * $my); + $self->realloc; }; } elsif ($lr ^ $td) { @@ -1176,6 +1176,8 @@ ($x, $y) = ($ev->{x}, $ev->{y}); $self->move_abs ($bx + $x - $ox, $by + $y - $oy); + # HACK: the next line is required to enforce placement + $self->{parent}->size_allocate ($self->{parent}{w}, $self->{parent}{h}); }; } else { return 0;