From 38dd60257a30d26694a10187a4979a8766b56e02 Mon Sep 17 00:00:00 2001 From: Juyeon Lee Date: Wed, 22 Nov 2017 14:33:19 +0900 Subject: [PATCH] ecore_evas_wayland_common: remove ECORE_EVAS_DEICONIFY_RENDER_UPDATE 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 | 7 +------ 1 file changed, 1 insertion(+), 6 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 3bfddff..5a97cc6 100755 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c @@ -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; } -- 2.7.4