Repaint the whole nonclient window area on SetWindowPos(SWP_FRAMECHANGED)

Alexandre Julliard julliard at winehq.org
Thu May 27 16:20:37 CDT 2004


Dmitry Timoshkov <dmitry at baikal.ru> writes:

> SetWindowPos(SWP_FRAMECHANGED) causes the whole nonclient window area
> to be repainted.
>
> Also, according to the tests Windows always repaints windows before
> SetWindowPos has finished.
>
> This patch reduces number of message test failures from 56 to 47.

The message order is wrong because we rely on X expose events to
repaint the window. This is one of the reasons we need to go back to
not using X windows for every window; but until that is done, your fix
is going to cause every window to be repainted twice.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list