* java/org/gnu/emacs/EmacsView.java (onLayout): Provide for
occasions where the saved measured dimensions differ from that
saved by the view.
measuredHeight = bottom - top;
}
+ /* If oldMeasuredHeight or oldMeasuredWidth are wrong, set changed
+ to true as well. */
+
+ if (right - left != oldMeasuredWidth
+ || bottom - top != oldMeasuredHeight)
+ changed = true;
+
/* Dirty the back buffer if the layout change resulted in the view
being resized. */
- if (changed && (right - left != oldMeasuredWidth
- || bottom - top != oldMeasuredHeight))
+ if (changed)
{
explicitlyDirtyBitmap ();