From: Mike Blumenkrantz Date: Fri, 12 May 2017 16:08:32 +0000 (-0400) Subject: ecore-evas: account for framespace when processing mouse movement X-Git-Tag: upstream/1.20.0~1104 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d9a7a6d987941c514c13524f881b7eeb31ff209;p=platform%2Fupstream%2Fefl.git ecore-evas: account for framespace when processing mouse movement in some cases (e.g., the mouse-out emission from the ee wl engine), this was calculating wrong coordinates, which would lead to a broken chain of events like: object mouse out -> object mouse in -> object mouse out which would severely break some apps @fix --- diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index 16a58c2..ce41475 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c @@ -3300,8 +3300,8 @@ _ecore_evas_mouse_move_process_internal(Ecore_Evas *ee, if (!feed) return; if (ee->rotation == 0) { - evt_x = x; - evt_y = y; + evt_x = x - fx; + evt_y = y - fy; } else if (ee->rotation == 90) {