user32: Allow a NULL foreground window in the tests

Dmitry Timoshkov dmitry at codeweavers.com
Thu May 29 10:07:32 CDT 2008


"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.

-- 
Dmitry.



More information about the wine-devel mailing list