E_Pointer: Fix issue with scale up twice for the output resolution ratio 28/318328/2
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 26 Sep 2024 08:19:51 +0000 (17:19 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Fri, 27 Sep 2024 02:12:43 +0000 (11:12 +0900)
Change-Id: I25d0439e4ab2221c90a87f5582de4bbff8cb7ca0

src/bin/windowmgr/e_pointer.c

index c8e65d03868d4a1eb4c2e8ef2b76100883156f5a..cf6a2ac4c47fc9cf8c78e3de3eb4e45edc519c7b 100644 (file)
@@ -192,14 +192,6 @@ _e_pointer_map_apply(E_Pointer *ptr)
 
    e_map_util_points_populate_from_view_full(map, view, 0);
 
-   if (ratio != 1.0)
-     {
-        e_map_point_coord_set(map, 1, x + (int)((double)w * ratio), y, 0);
-        e_map_point_coord_set(map, 2, x + (int)((double)w * ratio),
-                             y + (int)((double)h * ratio), 0);
-        e_map_point_coord_set(map, 3, x, y + (int)((double)h * ratio), 0);
-     }
-
    if (rotation)
      {
         if (rotation == 90)