On Mon, 2006-08-07 at 18:02 +0100, Mike Hearn wrote:
On Sun, 06 Aug 2006 20:10:19 -0700, James Liggett wrote:
so I suspect that this has something to do with stack problem
More likely it's a speed issue - logging slows the code down a lot which could "fix" a race condition. X is sort of susceptible to this kind of thing it seems.
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.
Thanks.