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
This commit is contained in:
Mike Blumenkrantz 2017-05-12 12:08:32 -04:00
parent 2fabed3255
commit 0d9a7a6d98
1 changed files with 2 additions and 2 deletions

View File

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