aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_callbacks.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-10-17 11:34:05 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-10-26 13:42:54 +0900
commit40fec5f608da4c5188a2afc7cc293d4f74a4b68d (patch)
tree45851fe4492c861b9ea3b24fafc5c5a82df20228 /src/lib/evas/canvas/evas_callbacks.c
parenteo: do not track NULL future. (diff)
downloadefl-40fec5f608da4c5188a2afc7cc293d4f74a4b68d.tar.gz
evas: Fix legacy events output vs. canvas coords
In case of a mapped object (eg. when applying a map to a window in wayland compositor), the canvas and output coordinates are not meant to be the same. In EO land, applications should instead use the common interface Efl.Input.Interface.pointer_xy.get (on the canvas). @fix
Diffstat (limited to 'src/lib/evas/canvas/evas_callbacks.c')
-rw-r--r--src/lib/evas/canvas/evas_callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c
index 18117bf8b1..d529399429 100644
--- a/src/lib/evas/canvas/evas_callbacks.c
+++ b/src/lib/evas/canvas/evas_callbacks.c
@@ -167,7 +167,7 @@ _eo_evas_object_cb(void *data, const Efl_Event *event)
switch (info->efl_event_type)
{
case EFL_EVENT_TYPE_POINTER:
- event_info = efl_input_pointer_legacy_info_fill(efl_event_info, info->type, &event_flags);
+ event_info = efl_input_pointer_legacy_info_fill(evas, efl_event_info, info->type, &event_flags);
break;
case EFL_EVENT_TYPE_KEY: