comctl32: Don't get the background colour in ANIMATE_PaintFrame as this can be called inside a critical section.

Robert Shearman rob at
Wed Feb 6 10:50:15 CST 2008

This could therefore create a deadlock if the processing for 
WM_CTLCOLORSTATIC ends up sending certain messages to the animate control.

So move the retrieval of the background colour into the callers of 
ANIMATE_PaintFrame but outside of any critical section.
  dlls/comctl32/animate.c |   11 ++++++++---
  1 files changed, 8 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3deaf92cf8e4f26c892564d5b9306e2ed1440448.diff
Type: text/x-patch
Size: 1699 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list