Fix ecore-evas-directfb feed of keyboard events.

This makes eve/webkit-efl work with directfb.



SVN revision: 39184
This commit is contained in:
Gustavo Sverzut Barbieri 2009-02-24 22:43:57 +00:00
parent a3f6e333f9
commit b8cf731e79
1 changed files with 4 additions and 2 deletions

View File

@ -151,7 +151,8 @@ _ecore_evas_directfb_event_key_down(void *data __UNUSED__, int type __UNUSED__,
ee = _ecore_evas_directfb_match(e->win);
if (!ee) return 1; /* pass on event */
evas_event_feed_key_down(ee->evas, e->name, NULL, e->string, e->key_compose, e->time, NULL);
evas_event_feed_key_down(ee->evas, e->name, e->name, e->string,
e->key_compose, e->time, NULL);
return 1;
}
@ -165,7 +166,8 @@ _ecore_evas_directfb_event_key_up(void *data __UNUSED__, int type __UNUSED__, vo
ee = _ecore_evas_directfb_match(e->win);
if (!ee) return 1; /* pass on event */
evas_event_feed_key_up(ee->evas, e->name, NULL, e->string, e->key_compose, e->time, NULL);
evas_event_feed_key_up(ee->evas, e->name, e->name, e->string,
e->key_compose, e->time, NULL);
return 1;
}