swin wrote:
> hello:
> 
>       In my app, if use
> 
>       dfb->CreateInputEventBuffer( dfb, DICAPS_ALL, DFB_FALSE, &events );
>     dfb->SetCooperativeLevel( dfb, DFSCL_FULLSCREEN );

If you don't create the primary surface, then the global argument must 
be true (dfb->CreateInputEventBuffer( dfb, DICAPS_ALL, DFB_TRUE, &events 
);).


> 
>       I can get keyboard event very well.
>       
>       but if I use
> 
>       ret = window->CreateEventBuffer( window, &events );
>       window->RequestFocus( window );
> 
>       I can not get keyboard event. How can I make the window receive
> keyboard event.

You must make the window visible to receive events 
(window->SetOpacity(0xff));

-- 
Regards,
      Claudio Ciccani

[EMAIL PROTECTED]
http://directfb.org
http://sf.net/projects/php-directfb

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

Reply via email to