discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0d9a7a6d987941c514c13524f881b7eeb31ff209

commit 0d9a7a6d987941c514c13524f881b7eeb31ff209
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri May 12 12:08:32 2017 -0400

    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
---
 src/lib/ecore_evas/ecore_evas.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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)
      {

-- 


Reply via email to