http://bugs.winehq.org/show_bug.cgi?id=10522
--- Comment #13 from Austin Lund austin.lund@gmail.com 2009-07-02 00:43:10 --- Created an attachment (id=22138) --> (http://bugs.winehq.org/attachment.cgi?id=22138) Test case
It seems that when there is this redraw in the WM_NCPAINT message handler and both the RDW_FRAME and RDW_INVALIDATE flags are set, then there is always an area (the non-client area) that is left flagged as needing to be updated.
This patch adds a test for this. On windows after an WM_PAINT message the area needing to be updated is NULL. On wine there is still a region needing to be updated.