ECN-4560 Improved window resize detection when Aero Snap is used

RPI Number: 1113102, 1113177


Module: runtime

Machines Affected: Windows, thin client

Known Versions Affected: All


Using the Aero Snap feature (available in recent versions of Windows) to resize the program window no longer causes unexpected results. A new detection algorithm for window resizing has been implemented to better track resizing events when this feature is used. Previously, resize events were not always generated, which led to some odd UI behavior.