ecore_evas: change location of setting rotation value 24/285924/2
authorHosang Kim <hosang12.kim@samsung.com>
Thu, 22 Dec 2022 09:53:56 +0000 (18:53 +0900)
committerkim hosang <hosang12.kim@samsung.com>
Thu, 22 Dec 2022 10:14:24 +0000 (10:14 +0000)
Change-Id: Id993403db7e9b82739ecc9d0460d8cedf05e8d0a

src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index 96e957b..5bc2197 100644 (file)
@@ -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;
         //