e_policy_visibility: do not uniconify_render when the window is not mapped 17/166217/1 accepted/tizen/unified/20180109.172817 submit/tizen/20180109.022737
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 9 Jan 2018 01:58:29 +0000 (10:58 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 9 Jan 2018 01:58:29 +0000 (10:58 +0900)
Change-Id: I59ae98aa480fda6a1f02867f6f8c8b234b1896d5

src/bin/e_policy_visibility.c

index a6690988aa6353465f03422d74b649796cef2ce5..2fa1ca9ffcabab7e01452ab0704c84618bca29f3 100644 (file)
@@ -633,7 +633,7 @@ _e_vis_job_eval(void)
 {
    E_Vis_Job_Group *group, *tmp;
 
-   DBG("VISIBILITY | Job Eval");
+   INF("VISIBILITY | Job Eval");
 
    _e_vis_job_queue_update();
 
@@ -1228,6 +1228,12 @@ _e_vis_client_add_uniconify_render_pending(E_Vis_Client *vc, E_Vis_Job_Type type
         return EINA_FALSE;
      }
 
+   if (ec->comp_data && !ec->comp_data->mapped)
+     {
+        ELOGF("POL_VIS", "Not mapped. no need to uniconify render.", ec->pixmap, ec);
+        return EINA_FALSE;
+     }
+
    /* do not add child window which is obscured by 24 bit parent window */
    if ((ec->parent) &&
        !(ec->parent->argb) &&