Re: Running event handlers

2005-10-31 Thread Boris Zbarsky
Ben Hutchings wrote: It seems like some parts of the Mozilla event handling machinery don't like being recursed over, so in some cases events won't be processed while an event handler (such as my on_net_state_change function) is running. Oh, right. The event queues try to prevent reentry... at

Re: Running event handlers

2005-10-31 Thread Boris Zbarsky
Ben Hutchings wrote: DOM events shouldn't affect PLEvents Do they not go through the same queue at some point? DOM events always dispatch immediately; there is no queue involved. -Boris ___ mozilla-embedding mailing list mozilla-embedding@mozil

Re: Running event handlers

2005-10-31 Thread Ben Hutchings
It seems like some parts of the Mozilla event handling machinery don't like being recursed over, so in some cases events won't be processed while an event handler (such as my on_net_state_change function) is running. I moved much of the state of on_net_state_change into a structure by a class memb

Re: Running event handlers

2005-10-31 Thread Ben Hutchings
Boris Zbarsky <[EMAIL PROTECTED]> wrote: > Ben Hutchings wrote: >> I assume you mean PL_ProcessPendingEvents? > > Yes. > >> That is not being called. > > Does it usually get called when you spin the GTK event loop? Yes, it gets called 3 times during loading of my test page. >> I wonder whether th