[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-dev] Idle events
- From: Alex Bligh <alex@xxxxxxxxxxx>
- Date: Tue, 16 May 2006 20:06:17 +0100
- Subject: [XaraXtreme-dev] Idle events
I am having difficulty understanding how idle events are meant to work
using App::RegisterIdleHandler
If the app is completely idle (nothing going on, for instance because
the previous idle handlers all returned FALSE), wxWidgets will not
be sending idle events in, because nothing called RequestMore().
If, at that point, another (kernel) idle handler is added that wants
more idle events, it seems to me it won't get them, because nothing
has called wxWakeUpIdle(). Of course when the next event comes
through, everything will be sorted.
Unless I'm misunderstanding how the whole thing works (quite possible)
I think we have a bug in our idle handling.
Any comments?
Alex