user32: Allow a NULL foreground window in the tests

James Hawkins truiken at gmail.com
Thu May 29 10:13:55 CDT 2008


On Thu, May 29, 2008 at 10:07 AM, Dmitry Timoshkov
<dmitry at codeweavers.com> wrote:
> "James Hawkins" <jhawkins at codeweavers.com> wrote:
>
>> According to msdn, "The foreground window can be NULL in certain
>> circumstances, such as when a window is losing activation. " which is
>> exactly when these failures occur.
>>
>> Changelog:
>> * Allow a NULL foreground window in the tests.
>
> NULL foreground window is already allowed, you just need to fix the callers
> of check_wnd_state() to pass 0 for foreground.
>

It's not consistent across platforms.

-- 
James Hawkins



More information about the wine-devel mailing list