summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas.c
index cee3d8a58a..240127e718 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas.c
@@ -2486,23 +2486,25 @@ _ecore_evas_mouse_move_process(Ecore_Evas *ee, int x, int y, unsigned int timest
2486 ee->mouse.y = y; 2486 ee->mouse.y = y;
2487 if (ee->prop.cursor.object) 2487 if (ee->prop.cursor.object)
2488 { 2488 {
2489 int fx, fy;
2490 evas_output_framespace_get(ee->evas, &fx, &fy, NULL, NULL);
2489 evas_object_show(ee->prop.cursor.object); 2491 evas_object_show(ee->prop.cursor.object);
2490 if (ee->rotation == 0) 2492 if (ee->rotation == 0)
2491 evas_object_move(ee->prop.cursor.object, 2493 evas_object_move(ee->prop.cursor.object,
2492 x - ee->prop.cursor.hot.x, 2494 x - fx - ee->prop.cursor.hot.x,
2493 y - ee->prop.cursor.hot.y); 2495 y - fy - ee->prop.cursor.hot.y);
2494 else if (ee->rotation == 90) 2496 else if (ee->rotation == 90)
2495 evas_object_move(ee->prop.cursor.object, 2497 evas_object_move(ee->prop.cursor.object,
2496 ee->h - y - 1 - ee->prop.cursor.hot.x, 2498 ee->h - y - fx - 1 - ee->prop.cursor.hot.x,
2497 x - ee->prop.cursor.hot.y); 2499 x - fy - ee->prop.cursor.hot.y);
2498 else if (ee->rotation == 180) 2500 else if (ee->rotation == 180)
2499 evas_object_move(ee->prop.cursor.object, 2501 evas_object_move(ee->prop.cursor.object,
2500 ee->w - x - 1 - ee->prop.cursor.hot.x, 2502 ee->w - x - fx - 1 - ee->prop.cursor.hot.x,
2501 ee->h - y - 1 - ee->prop.cursor.hot.y); 2503 ee->h - y - fy - 1 - ee->prop.cursor.hot.y);
2502 else if (ee->rotation == 270) 2504 else if (ee->rotation == 270)
2503 evas_object_move(ee->prop.cursor.object, 2505 evas_object_move(ee->prop.cursor.object,
2504 y - ee->prop.cursor.hot.x, 2506 y - fx - ee->prop.cursor.hot.x,
2505 ee->w - x - 1 - ee->prop.cursor.hot.y); 2507 ee->w - x - fy - 1 - ee->prop.cursor.hot.y);
2506 } 2508 }
2507 if (ee->rotation == 0) 2509 if (ee->rotation == 0)
2508 evas_event_feed_mouse_move(ee->evas, x, y, timestamp, NULL); 2510 evas_event_feed_mouse_move(ee->evas, x, y, timestamp, NULL);