ecore_evas_wayland_common: remove ECORE_EVAS_DEICONIFY_RENDER_UPDATE 91/161191/2 accepted/tizen/unified/20171124.064618 submit/tizen/20171123.082406
authorJuyeon Lee <juyeonne.lee@samsung.com>
Wed, 22 Nov 2017 05:33:19 +0000 (14:33 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Thu, 23 Nov 2017 02:10:30 +0000 (02:10 +0000)
wayland client should update its evas when the state has changed
  from iconic to un-iconic, regardless ECORE_EVAS_DEICONIFY_RENDER_UPDATE

Change-Id: I8bdd569c286a742c0fdb0e14392d9c86c4f5cc6f

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

index 3bfddff..5a97cc6 100755 (executable)
@@ -38,7 +38,6 @@ EVAS_SMART_SUBCLASS_NEW(_smart_frame_type, _ecore_evas_wl_frame,
 /* local variables */
 static int _ecore_evas_wl_init_count = 0;
 static Ecore_Event_Handler *_ecore_evas_wl_event_hdls[10];
-static Eina_Bool _enable_uniconify_force_render = EINA_FALSE;
 
 static void _ecore_evas_wayland_resize(Ecore_Evas *ee, int location);
 
@@ -353,8 +352,7 @@ _ecore_evas_wl_common_cb_aux_hint_allowed(void *data  EINA_UNUSED, int type EINA
 static void
 _ecore_evas_wl_common_damage_add(Ecore_Evas *ee)
 {
-   if ((!_enable_uniconify_force_render) ||
-       (ee->prop.iconified))
+   if (ee->prop.iconified)
      return;
 
    /* add canvas damage
@@ -837,9 +835,6 @@ _ecore_evas_wl_common_init(void)
 
    ecore_event_evas_init();
 
-   if (getenv("ECORE_EVAS_DEICONIFY_RENDER_UPDATE"))
-     _enable_uniconify_force_render = EINA_TRUE;
-
    return _ecore_evas_wl_init_count;
 }