[Pkg-e-commits] [SCM] Enlightenment DR17 graphical layout and animation library branch, upstream-vcs, updated. f5b4e4555670cc3b4a24802eb44d7d47c379bee4
cmarcelo
cmarcelo at alioth.debian.org
Fri May 23 22:08:28 UTC 2008
The following commit has been merged in the upstream-vcs branch:
commit 23a64634369b2120d84ee7258a5eb5c495e25dba
Author: cmarcelo <cmarcelo>
Date: Fri Apr 4 00:07:07 2008 +0000
Fix mouse_in/out flag checking.
If we have event_flags and they match any bit in ignore_flags, return.
diff --git a/src/lib/edje_callbacks.c b/src/lib/edje_callbacks.c
index 35eb3cb..6e8e922 100644
--- a/src/lib/edje_callbacks.c
+++ b/src/lib/edje_callbacks.c
@@ -34,9 +34,9 @@ _edje_mouse_in_cb(void *data, Evas * e, Evas_Object * obj, void *event_info)
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 @@ _edje_mouse_out_cb(void *data, Evas * e, Evas_Object * obj, void *event_info)
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;
--
Enlightenment DR17 graphical layout and animation library
More information about the Pkg-e-commits
mailing list