From: Joogab Yun Date: Fri, 21 Sep 2018 02:58:13 +0000 (+0900) Subject: ecore_evas_wayland_common : remove duplicate engine_info_set X-Git-Tag: submit/tizen/20180928.051038~70 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F27%2F189827%2F1;p=platform%2Fupstream%2Fefl.git ecore_evas_wayland_common : remove duplicate engine_info_set 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 --- 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 old mode 100644 new mode 100755 index 643b8b4..7748938 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c @@ -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;