Quoting Alex Song ([EMAIL PROTECTED]):
> hi dennis,
> 
> no, i have a raw event buffer which get's all events (global), keystrokes as
> well as mouse movements. and i have separate event buffers for each window
> for events like leave, enter, button down and button up. so when the mouse
> moves the raw event buffer (which i will be waiting on) will wake up and i
> can check each window event buffer for events. that's what i meant, but i
> have decided to go with a big event loop and track window ids. it's the same
> as what i proposed above really, except one is tracking window id's and the
> other is tracking window event buffers.

The advantage of a single event buffer is that you don't have to rely on
the wakeup via raw events. You also don't have to poll all buffers, you can
simply call WaitForEvent() or WaitForEventWithTimeout() on the single buffer.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


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

Reply via email to