mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
CORE-18206 CORE-18799 CORE-19371 Fixes infinite loop of: err: Message WM_PAINT count 1 Internal Paint Set? FALSE The symptom appears in the following scenario (as reported in CORE-18799): A program (game) runs at a small resolution (e.g. 640 x 480), but the game window gets invalidated at a larger size (e.g. 1152 x 864 screen resolution) before switching to the smaller (640 x 480) size. Because of this, the window's update region is larger than the current window so only the 640 x 480 region gets validated leaving the remaining region invalid. This causes the recurring WM_PAINT messages because there is no way to invalidate the remaining area.