forked from enlightenment/efl
Fix mouse_in/out flag checking.
If we have event_flags and they match any bit in ignore_flags, return. SVN revision: 34185
This commit is contained in:
parent
1b73237787
commit
f674fc975b
|
@ -36,7 +36,7 @@ _edje_mouse_in_cb(void *data, Evas * e, Evas_Object * obj, void *event_info)
|
|||
rp = evas_object_data_get(obj, "real_part");
|
||||
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;
|
||||
|
@ -54,7 +54,7 @@ _edje_mouse_out_cb(void *data, Evas * e, Evas_Object * obj, void *event_info)
|
|||
rp = evas_object_data_get(obj, "real_part");
|
||||
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,out", rp->part->name);
|
||||
return;
|
||||
e = NULL;
|
||||
|
|
Loading…
Reference in New Issue