visibility: do not add child window which is obscured by 24bit 01/144501/2
authorGwanglim Lee <gl77.lee@samsung.com>
Thu, 17 Aug 2017 04:58:09 +0000 (13:58 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Thu, 17 Aug 2017 05:19:04 +0000 (14:19 +0900)
parent window to uniconify job list

It prevents uniconify timeout error caused by obscured child
window which doesn't send commit event.

Change-Id: Ic92172fe090ad9f9cee60ad2a295dcef0b8ec001

src/bin/e_policy_visibility.c

index 279bca4..c2b94e3 100644 (file)
@@ -1024,6 +1024,15 @@ _e_vis_client_add_uniconify_render_pending(E_Vis_Client *vc, E_Vis_Job_Type type
         return EINA_FALSE;
      }
 
+   /* do not add child window which is obscured by 24 bit parent window */
+   if ((ec->parent) &&
+       !(ec->parent->argb) &&
+       (ec->transient_policy == E_TRANSIENT_BELOW))
+     {
+        VS_DBG(ec, "Transient below. no need to uniconify render.");
+        return EINA_FALSE;
+     }
+
    if (!_e_vis_client_is_uniconify_render_necessary(vc))
        return EINA_FALSE;