evas/events: fix conditional for emitting source mouse move events

Summary:
this should match all other similar cases when determining whether to
emit the event by checking whether at least one coord has changed, not both
Depends on D11791

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: raster, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11792
This commit is contained in:
Mike Blumenkrantz 2020-05-09 09:25:27 +01:00 committed by Carsten Haitzler (Rasterman)
parent f5cc8574c7
commit a7bcba534a
1 changed files with 1 additions and 1 deletions

View File

@ -815,7 +815,7 @@ _evas_event_source_mouse_move_events(Evas_Object *eo_obj, Evas *eo_e,
ev->action = EFL_POINTER_ACTION_IN;
evas_object_event_callback_call(eo_child, child, EVAS_CALLBACK_MOUSE_IN, evt,
event_id2, EFL_EVENT_POINTER_IN);
if ((cur_pt.x != prev_pt.x) && (cur_pt.y != prev_pt.y))
if ((cur_pt.x != prev_pt.x) || (cur_pt.y != prev_pt.y))
{
ev->action = EFL_POINTER_ACTION_MOVE;
evas_object_event_callback_call(eo_child, child, EVAS_CALLBACK_MOUSE_MOVE, evt,