RFC: XEmbed Systray Patches

Mike Hearn mike at plan99.net
Tue Aug 8 07:48:18 CDT 2006

On 8/7/06, James Liggett <jrliggett at cox.net> wrote:
> Turns out you're right, Mike. If I add a small (2 ms) sleep after the
> dock event is sent, things work perfectly. :) But, this really strikes
> me as a hack that doesn't stand a chance of getting into Wine. Is there
> a better way to slow down the execution of this code.

It's not that we need to slow it down - slowing something down is
never an acceptable solution to a race. We are missing some kind of
synchronisation somewhere, or perhaps we are doing something funny to
the window immediately after we try and dock it, which causes it to
undock. You need to trace exactly what happens to that window after
it's docked.

thanks -mike

More information about the wine-devel mailing list