e_policy_visibility: check map state of above window in _e_vis_ec_above_is_non_alpha_... 68/180468/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 30 May 2018 00:42:02 +0000 (09:42 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 30 May 2018 00:42:06 +0000 (09:42 +0900)
Change-Id: If7f0496f91eab43920b09a974eaa864be16e2808

src/bin/e_policy_visibility.c

index b2ebf45a547cff01876e2187feac74b6f57f5095..b5c0844424dc696eb760f6d3454e1c72f509d1d3 100644 (file)
@@ -1529,6 +1529,11 @@ _e_vis_ec_above_is_non_alpha_visible(E_Client *ec, Eina_Bool check_child)
         if (e_client_util_ignored_get(above)) continue;
         if (!E_CONTAINS(above->x, above->y, above->w, above->h, ec->x, ec->y, ec->w, ec->h)) continue;
         if (check_child && (above->parent == ec)) continue;
+        if (above->first_mapped)
+          {
+             if (above->comp_data && !above->comp_data->mapped)
+               continue;
+          }
 
         if (above->visibility.obscured == E_VISIBILITY_UNOBSCURED)
           {