Kees Beets kbeets68@gmail.com writes:
Fixes https://bugs.winehq.org/show_bug.cgi?id=38231
Removed 16-bit windows position and size constraints introduced in 2006. Only kept truncation to 16-bit in windows messaging to keep same behaviour as windows.
I'd find it surprising that the messages wouldn't match the actual window sizes. This would need more test cases.
In fact we already had some window size tests, but they were commented out. I've re-enabled them now, so if you try your patch against latest git you'll see new failures, indicating that fixing up the messages is not correct.