forked from enlightenment/efl
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:
parent
2fabed3255
commit
0d9a7a6d98
|
@ -3300,8 +3300,8 @@ _ecore_evas_mouse_move_process_internal(Ecore_Evas *ee,
|
||||||
if (!feed) return;
|
if (!feed) return;
|
||||||
if (ee->rotation == 0)
|
if (ee->rotation == 0)
|
||||||
{
|
{
|
||||||
evt_x = x;
|
evt_x = x - fx;
|
||||||
evt_y = y;
|
evt_y = y - fy;
|
||||||
}
|
}
|
||||||
else if (ee->rotation == 90)
|
else if (ee->rotation == 90)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue