Am 18.10.2017 um 21:38 schrieb Stefan Dösinger stefan@codeweavers.com:
The client rectangle is 204x150 on my system (real one, Nvidia GPU, not qemu), even though we requested 200x150. Odd, but not really the concern of this test.
I had an epiphany where the odd behavior comes from: It was caused by my custom UI scaling factor of 172% (=165 DPI). Setting it to 150% (144 DPI), a value suggested by Windows, gives the expected window size.
I still think the patch is a good idea because it makes the test more robust against such configurations. I’ll resend it tomorrow with an updated title and description.