[PATCH 2/2] user32: Set WM_NOSIZE for windows smaller than SM_CXMINTRACK/SM_CYMINTRACK.

Lei Zhang thestig at google.com
Thu Jul 10 00:57:29 CDT 2008


I added more tests for this and also looked at the trace log from the
tests. My last patch was definitely wrong because it prevents the
window/client size from changing, whereas they do change on Windows. I
check for this in the tests now.

I looked at the content of the WM_WINDOWPOSCHANGED messages, and I
noticed SWP_NOCLIENTSIZE was set for the cases where the window is too
small. So SWP_DoNCCalcSize seems like the right place to check for
this, and not clear SWP_NOCLIENTSIZE.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-user32-Set-WM_NOSIZE-for-windows-smaller-than-SM_CX.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080709/bddc68a3/attachment-0001.txt 

More information about the wine-patches mailing list