Hi,

Alex Song <[EMAIL PROTECTED]> writes:

> since i will be getting the same event twice, can i create a separate event
> buffer for each window as well as a raw input event buffer. so in the main
> event loop i wait for an event on the raw event buffer and then when i get
> an event i check if it is a window event. if it is then i check each
> window's event buffer and handle events accordingly otherwise i handle the
> keystrokes. this approach does not need to track window id's at the cost of
> more event buffers. i am basically going to use the raw event buffer to
> "wake up" my main event loop. am i correct ? what do you guys think ?

I'd rather resort to a single event buffer. Keeping track of window
ids is simple and every event buffer adds significant overhead.


Salut, Sven


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to