Arvind Ayyangar schrieb:
> 
> hi,
>   I am trying to pass all the events to userspace through a socket. All 
> I need is the type of event and the window on which the event occured. 
> Assuming i am using the default window manager, I call a function to 
> send this information from handle_key_press, handle_button_press,etc 
> since untill this stage no processing on teh events seems to be done.
> I get the information correct until i comment a call to post_event (i 
> did this in the send_event_button) after which it doesn't return the 
> correct window id on which the event occurred.
> Could through some light on this?

The window id (and other values) is filled in by dfb_window_dispatch()
called by post_event().

-- 
Best regards,
   Denis Oliver Kropp

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

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to