On 24.11.16 18:44, Semyon Sadetsky wrote:
Should the paintEvent be posted only if "needHandleResize" is true,
which will means that the size was changed and repaint is necessary?
Upon the content window configuration? Yes, paint event is only required
if the content window is firstly configured because the previous expose
events might be skipped. In other scenarios paint is posted by the
expose event handler.
Why the call to validateSurface() was removed?
because it has been already called in reshape().
Thanks. Looks fine.
--
Best regards, Sergey.