Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/canvas


Modified Files:
        evas_callbacks.c 


Log Message:


only pass certain callbacks to smart parents...

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_callbacks.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- evas_callbacks.c    23 Aug 2004 23:04:33 -0000      1.17
+++ evas_callbacks.c    6 Oct 2004 02:34:01 -0000       1.18
@@ -188,7 +188,9 @@
    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);
 }
 




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to