Enlightenment CVS committal
Author : cmarcelo
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
edje_callbacks.c
Log Message:
Fix mouse_in/out flag checking.
If we have event_flags and they match any bit in ignore_flags, return.
===================================================================
RCS file: /cvs/e/e17/libs/edje/src/lib/edje_callbacks.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- edje_callbacks.c 3 Apr 2008 18:22:22 -0000 1.29
+++ edje_callbacks.c 4 Apr 2008 00:07:07 -0000 1.30
@@ -34,9 +34,9 @@
ev = event_info;
ed = data;
rp = evas_object_data_get(obj, "real_part");
- if ((!rp) ||
+ if ((!rp) ||
((ev->event_flags) &&
- (!(rp->part->ignore_flags & ev->event_flags)))) return;
+ (rp->part->ignore_flags & ev->event_flags))) return;
_edje_emit(ed, "mouse,in", rp->part->name);
return;
e = NULL;
@@ -52,9 +52,9 @@
ev = event_info;
ed = data;
rp = evas_object_data_get(obj, "real_part");
- if ((!rp) ||
- ((ev->event_flags) &&
- (!(rp->part->ignore_flags & ev->event_flags)))) return;
+ if ((!rp) ||
+ ((ev->event_flags) &&
+ (rp->part->ignore_flags & ev->event_flags))) return;
_edje_emit(ed, "mouse,out", rp->part->name);
return;
e = NULL;
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs