summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_events.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/evas_events.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/evas/canvas/evas_events.c b/src/lib/evas/canvas/evas_events.c
index aee416a..8011ae3 100644
--- a/src/lib/evas/canvas/evas_events.c
+++ b/src/lib/evas/canvas/evas_events.c
@@ -465,7 +465,7 @@ _evas_event_source_mouse_down_events(Evas_Object *eo_obj, Evas *eo_e,
465 465
466 if (obj->delete_me || src->delete_me || e->is_frozen) return; 466 if (obj->delete_me || src->delete_me || e->is_frozen) return;
467 467
468 evt = efl_input_dup(parent_ev); 468 evt = efl_dup(parent_ev);
469 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS); 469 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS);
470 if (!ev) return; 470 if (!ev) return;
471 471
@@ -574,7 +574,7 @@ _evas_event_source_mouse_move_events(Evas_Object *eo_obj, Evas *eo_e,
574 574
575 if (obj->delete_me || src->delete_me || e->is_frozen) return; 575 if (obj->delete_me || src->delete_me || e->is_frozen) return;
576 576
577 evt = efl_input_dup(parent_ev); 577 evt = efl_dup(parent_ev);
578 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS); 578 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS);
579 if (!ev) return; 579 if (!ev) return;
580 580
@@ -787,7 +787,7 @@ _evas_event_source_mouse_up_events(Evas_Object *eo_obj, Evas *eo_e,
787 787
788 if (obj->delete_me || src->delete_me || e->is_frozen) return; 788 if (obj->delete_me || src->delete_me || e->is_frozen) return;
789 789
790 evt = efl_input_dup(parent_ev); 790 evt = efl_dup(parent_ev);
791 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS); 791 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS);
792 if (!ev) return; 792 if (!ev) return;
793 793
@@ -877,7 +877,7 @@ _evas_event_source_wheel_events(Evas_Object *eo_obj, Evas *eo_e,
877 877
878 if (obj->delete_me || src->delete_me || obj->layer->evas->is_frozen) return; 878 if (obj->delete_me || src->delete_me || obj->layer->evas->is_frozen) return;
879 879
880 evt = efl_input_dup(parent_ev); 880 evt = efl_dup(parent_ev);
881 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS); 881 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS);
882 if (!ev) return; 882 if (!ev) return;
883 883
@@ -936,7 +936,7 @@ _evas_event_source_multi_down_events(Evas_Object_Protected_Data *obj, Evas_Publi
936 936
937 if (obj->delete_me || src->delete_me || obj->layer->evas->is_frozen) return; 937 if (obj->delete_me || src->delete_me || obj->layer->evas->is_frozen) return;
938 938
939 evt = efl_input_dup(parent_ev); 939 evt = efl_dup(parent_ev);
940 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS); 940 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS);
941 if (!ev) return; 941 if (!ev) return;
942 942
@@ -1002,7 +1002,7 @@ _evas_event_source_multi_up_events(Evas_Object_Protected_Data *obj, Evas_Public_
1002 1002
1003 if (obj->delete_me || src->delete_me || obj->layer->evas->is_frozen) return; 1003 if (obj->delete_me || src->delete_me || obj->layer->evas->is_frozen) return;
1004 1004
1005 evt = efl_input_dup(parent_ev); 1005 evt = efl_dup(parent_ev);
1006 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS); 1006 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS);
1007 if (!ev) return; 1007 if (!ev) return;
1008 1008
@@ -1062,7 +1062,7 @@ _evas_event_source_multi_move_events(Evas_Object_Protected_Data *obj, Evas_Publi
1062 1062
1063 if (obj->delete_me || src->delete_me || e->is_frozen) return; 1063 if (obj->delete_me || src->delete_me || e->is_frozen) return;
1064 1064
1065 evt = efl_input_dup(parent_ev); 1065 evt = efl_dup(parent_ev);
1066 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS); 1066 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS);
1067 if (!ev) return; 1067 if (!ev) return;
1068 1068
@@ -1176,7 +1176,7 @@ _evas_event_source_mouse_in_events(Evas_Object *eo_obj, Evas *eo_e,
1176 Evas_Pointer_Data *pdata; 1176 Evas_Pointer_Data *pdata;
1177 1177
1178 if (obj->delete_me || src->delete_me || e->is_frozen) return; 1178 if (obj->delete_me || src->delete_me || e->is_frozen) return;
1179 evt = efl_input_dup(parent_ev); 1179 evt = efl_dup(parent_ev);
1180 1180
1181 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS); 1181 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS);
1182 if (!ev) return; 1182 if (!ev) return;
@@ -1267,7 +1267,7 @@ _evas_event_source_mouse_out_events(Evas_Object *eo_obj, Evas *eo_e,
1267 1267
1268 if (obj->delete_me || src->delete_me || e->is_frozen) return; 1268 if (obj->delete_me || src->delete_me || e->is_frozen) return;
1269 1269
1270 evt = efl_input_dup(parent_ev); 1270 evt = efl_dup(parent_ev);
1271 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS); 1271 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS);
1272 if (!ev) return; 1272 if (!ev) return;
1273 1273
@@ -1594,7 +1594,7 @@ _post_up_handle(Evas_Public_Data *e, Efl_Input_Pointer *parent_ev,
1594 int event_id; 1594 int event_id;
1595 1595
1596 /* Duplicating UP event */ 1596 /* Duplicating UP event */
1597 evt = efl_input_dup(parent_ev); 1597 evt = efl_dup(parent_ev);
1598 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS); 1598 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS);
1599 if (!ev) return; 1599 if (!ev) return;
1600 1600
@@ -1982,7 +1982,7 @@ _canvas_event_feed_mouse_wheel_internal(Eo *eo_e, Efl_Input_Pointer_Data *pe)
1982 1982
1983 event_id = _evas_object_event_new(); 1983 event_id = _evas_object_event_new();
1984 1984
1985 evt = efl_input_dup(pe->eo); 1985 evt = efl_dup(pe->eo);
1986 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS); 1986 ev = efl_data_scope_get(evt, EFL_INPUT_POINTER_CLASS);
1987 if (!ev) return; 1987 if (!ev) return;
1988 1988