summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-05-12 12:08:32 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-05-12 12:08:25 -0400
commit0d9a7a6d987941c514c13524f881b7eeb31ff209 (patch)
treedba5ff4a7c23bd9cdd474eef99aa5d6c778352fe /src/lib/ecore_evas
parent2fabed32555d411b8c293556fb56abb90d4ae000 (diff)
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
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 16a58c2b61..ce41475d19 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,
3300 if (!feed) return; 3300 if (!feed) return;
3301 if (ee->rotation == 0) 3301 if (ee->rotation == 0)
3302 { 3302 {
3303 evt_x = x; 3303 evt_x = x - fx;
3304 evt_y = y; 3304 evt_y = y - fy;
3305 } 3305 }
3306 else if (ee->rotation == 90) 3306 else if (ee->rotation == 90)
3307 { 3307 {