From a8f75acf779bc4b3836396075232cb1111c526f1 Mon Sep 17 00:00:00 2001 From: Hosang Kim Date: Thu, 22 Dec 2022 18:53:56 +0900 Subject: [PATCH] ecore_evas: change location of setting rotation value Change-Id: Id993403db7e9b82739ecc9d0460d8cedf05e8d0a --- src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c index 96e957b..5bc2197 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c @@ -1107,6 +1107,9 @@ _rotation_do(Ecore_Evas *ee, int rotation, int output_rotation, int resize) if (rot_dif % 180) // { + /* record the current rotation of the ecore_evas */ + ee->rotation = rotation; + int minw, minh, maxw, maxh; int basew, baseh, stepw, steph; @@ -1186,8 +1189,6 @@ _rotation_do(Ecore_Evas *ee, int rotation, int output_rotation, int resize) ecore_evas_size_base_get(ee, &basew, &baseh); ecore_evas_size_step_get(ee, &stepw, &steph); - /* record the current rotation of the ecore_evas */ - ee->rotation = rotation; //TIZEN_ONLY(20171115): support output transform wdata->output_rotation = output_rotation; // -- 2.7.4