ecore_evas_wayland_common : remove duplicate engine_info_set 27/189827/1
authorJoogab Yun <joogab.yun@samsung.com>
Fri, 21 Sep 2018 02:58:13 +0000 (11:58 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Fri, 21 Sep 2018 02:58:13 +0000 (11:58 +0900)
We calculate the rotation value at the end of _rotation_do () and then we do the engine_info_set.
So we do not need engine_info_set here.

Myfiles -> search -> keybord -> input text -> look at the mangifier
-> rotate 90 or 270 -> input text -> rotate 0 -> input text -> look at
the mangifier -> issue

Change-Id: I6d729815f6749937693ed7934b08019b5a98c2cb

src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 643b8b4..7748938
@@ -974,14 +974,6 @@ _rotation_do(Ecore_Evas *ee, int rotation, int output_rotation, int resize)
 
    wdata = ee->engine.data;
 
-   einfo = (Evas_Engine_Info_Wayland *)evas_engine_info_get(ee->evas);
-   if (einfo)
-     {
-        einfo->info.rotation = rotation;
-        if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
-          ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver);
-     }
-
    /* calculate difference in rotation */
    rot_dif = ee->rotation - rotation;
    if (rot_dif < 0) rot_dif = -rot_dif;