Mathias Weiss <[EMAIL PROTECTED]> writes:
> > Please use emPtrButton | emKeyPress like in
> > the Poll call. The thing you have now will dequeue _any_ event that came in,
> > as soon as an event that matches the mask in the Poll-call comes in.
>
> this is what I wont to have; why should I wont to have the queue fill up
> constantly?
[snip]
> > Yes. This is correct for the code above. Use the correct Mask for the
> > EventRead to filter out all the movement events.
>
> But move events will fill up in the queue;
> So I'll get an overflow of the queue after some time?
If the queue is full new events will be silently discarded by LibGII
so there's no reason for you to read them and discard them yourself.
Just a waste of CPU cycles.
Also you don't have to worry about events you are interrested in
being discarded because of a full queue - each event type have
it's own queue.
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: [EMAIL PROTECTED]