public int newmousey = -1; ///< y position of the mouse, in real time; this lets us collapse Move's
public boolean minimized = false; ///< True iff this surface is minimized, in real time
public boolean maximized = false; ///< True iff this surface is maximized, in real time
+ public boolean unrendered = true; ///< True iff this surface has not yet been rendered
DirtyList dirtyRegions = new DirtyList(); ///< Dirty regions on the surface
// Used For Simulating Clicks and DoubleClicks /////////////////////////////////////////////////
/** subclasses should invoke this method when the user resizes the window */
protected final void SizeChange(final int width, final int height) {
- if (pendingWidth == width && pendingHeight == height) return;
+ if (unrendered || (pendingWidth == width && pendingHeight == height)) return;
pendingWidth = width;
pendingHeight = height;
syncRootBoxToSurface = true;
return;
}
}
+
+ unrendered = false;
}
// FEATURE: reinstate recycler