On 8/7/06, James Liggett <[EMAIL PROTECTED]> 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


Reply via email to