summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_load.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-06-08 13:20:00 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-06-08 13:21:58 -0400
commitc38f84e64f3ac915d61c0307fc9dce0c66fda7b8 (patch)
tree11f9f5246849df3320dc81960ad8548473a09070 /src/lib/edje/edje_load.c
parentd8a56d03a913d7f58e459e20da68a8ed0aa3d80d (diff)
edje: set GROUP/SWALLOW/EXTERNAL pass events based on mouse events
previously these parts would fail to consume mouse events as expected, leading to strange event chains which were inconsistent with other types of parts @fix
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index b3f351953a..6ef6f142a5 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -701,7 +701,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const Eina_File *file, const ch
701 externals = eina_list_append(externals, rp); 701 externals = eina_list_append(externals, rp);
702 rp->object = evas_object_rectangle_add(ed->base->evas); 702 rp->object = evas_object_rectangle_add(ed->base->evas);
703 evas_object_color_set(rp->object, 0, 0, 0, 0); 703 evas_object_color_set(rp->object, 0, 0, 0, 0);
704 evas_object_pass_events_set(rp->object, 1); 704 evas_object_pass_events_set(rp->object, !ep->mouse_events);
705 evas_object_pointer_mode_set(rp->object, EVAS_OBJECT_POINTER_MODE_NOGRAB); 705 evas_object_pointer_mode_set(rp->object, EVAS_OBJECT_POINTER_MODE_NOGRAB);
706 _edje_callbacks_focus_add(rp->object, ed, rp); 706 _edje_callbacks_focus_add(rp->object, ed, rp);
707 break; 707 break;