Hi,

I cross compiled GTK+-2.10.10 with Directfb-1.0.0 for an embedded  board 
without  keyboard. When I tun the gtk-demo program I get:
(#) DirectFBError [gdk_display_open: GetInputDevice]: Requested ID not 
found!

I have changed the code like this with the hope that the program wont 
crass:
ret=directfb->GetInputDevice (directfb, DIDID_KEYBOARD, &keyboard);

 if (ret != DFB_OK){
     //DirectFBError ("gdk_display_open: GetDisplayLayer", ret);
   DirectFBError ("gdk_display_open: GetInputDevice", ret);
   //layer->Release (layer);
   //directfb->Release (directfb);
      //return NULL;
 }
But as I expected this trick didnt work. I get the error:
Gdk-DirectFB-ERROR **: file ../../../gdk/directfb/gdkkeys-directfb.c: 
line 1980 (gdk_keymap_get_for_display): assertion fail)

Is there posible to have gtk+directfb without keyboard if you  arent 
going to use it?

Thanks in advance , and sorry for my English
Jorge

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

Reply via email to