user32: Workaround SetForegroundWindow failure due to foreground lock timeout

Piotr Caban piotr at codeweavers.com
Mon Mar 24 13:31:21 CDT 2014


This patch fixes failures when testbot runs user32:win tests from 
wine-patches. I'm not sure if it's ok to work around it in tests instead 
of doing something on testbot side. The failures are caused by taskbar 
not letting other windows to become foreground.

I can also rework the patch to skip some tests if SetForegroundWindow 
fails if it's preferred.

---
  dlls/user32/tests/win.c | 41 +++++++++++++++++++++++++++++------------
  1 file changed, 29 insertions(+), 12 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-Workaround-SetForegroundWindow-failure-due-to-f.txt
Type: text/x-patch
Size: 2852 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140324/f8ab9d01/attachment.bin>


More information about the wine-patches mailing list