Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
        evas_callbacks.c 


Log Message:


cedirc patchies!

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_callbacks.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- evas_callbacks.c    3 Jun 2008 20:33:40 -0000       1.34
+++ evas_callbacks.c    26 Jul 2008 13:04:29 -0000      1.35
@@ -69,6 +69,7 @@
    /* MEM OK */
    Evas_Object_List **l_mod = NULL, *l;
    Evas_Button_Flags flags = EVAS_BUTTON_NONE;
+   Evas_Bool func_call = 0;
    Evas *e;
 
    if (obj->delete_me) return;
@@ -118,7 +119,10 @@
             if ((fn->type == type) && (!fn->delete_me))
               {
                  if (fn->func)
-                   fn->func(fn->data, obj->layer->evas, obj, event_info);
+                   {
+                      fn->func(fn->data, obj->layer->evas, obj, event_info);
+                      func_call = 1;
+                   }
               }
             if (obj->delete_me) break;
           }
@@ -140,8 +144,7 @@
              ev->flags = flags;
           }
      }
-   
-   if (!((obj->no_propagate) && (l_mod) && (*l_mod)))
+   if (!((obj->no_propagate) && (l_mod) && (*l_mod)) && ((obj->no_propagate && 
!func_call) || !obj->no_propagate))
      {
        if ((obj->smart.parent) && (type != EVAS_CALLBACK_FREE) &&
            (type <= EVAS_CALLBACK_KEY_UP))



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to