Fix build error 49/318149/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 13 Jan 2025 12:07:41 +0000 (21:07 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 13 Jan 2025 12:07:41 +0000 (21:07 +0900)
Change-Id: I61ef2a7c0c28404d97acbc8181f004514fd25251
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/e_mod_gesture_events.c

index 118d12060ae61378998a191d307d85f79a7afc11..28f5613082f4b73460aaaeacd7bbf9dd8af016ac 100644 (file)
@@ -813,8 +813,8 @@ _e_gesture_process_edge_drag_down(Ecore_Event_Mouse_Button *ev)
                }
           }
 
-        max_x_pos = comp->w - 1;
-        max_y_pos = comp->h - 1;
+        max_x_pos = e_comp->w - 1;
+        max_y_pos = e_comp->h - 1;
         if (ev->y < conf->edge_drag.area_offset)
           edge_drags->base.edge = E_GESTURE_EDGE_TOP;
         else if (ev->y > max_y_pos - conf->edge_drag.area_offset)