only pass certain callbacks to smart parents...

SVN revision: 11761
This commit is contained in:
Carsten Haitzler 2004-10-06 02:34:01 +00:00
parent 3c5dcbbffe
commit 3d5d362ba3
1 changed files with 3 additions and 1 deletions

View File

@ -188,7 +188,9 @@ evas_object_event_callback_call(Evas_Object *obj, Evas_Callback_Type type, void
obj->callbacks->walking_list--;
if (!obj->callbacks->walking_list)
evas_object_event_callback_clear(obj);
if (obj->smart.parent)
if ((obj->smart.parent) &&
(type != EVAS_CALLBACK_FREE) &&
(type <= EVAS_CALLBACK_KEY_UP))
evas_object_event_callback_call(obj->smart.parent, type, event_info);
}