e_comp_wl: Delete below background object if client want to change its opaque state... 86/199886/1 submit/tizen_5.0/20190215.081858
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 15 Feb 2019 02:27:25 +0000 (11:27 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Fri, 15 Feb 2019 07:06:35 +0000 (16:06 +0900)
Background object placed below should be removed when client changes its
opaque state to alpha so that make other windows to be visible.

Change-Id: Iaaab49fce8c7e10f63a87647fdb6650a88928753

src/bin/e_comp_wl.c

index 110da8a9e00390d42a9e3866f228d972ee68cd4f..4cae4cf255baa17be603d6576b50419df63922aa 100644 (file)
@@ -3592,7 +3592,15 @@ _e_comp_wl_subsurface_check_below_bg_rectangle(E_Client *ec)
          return;
      }
 
-   if (ec->argb) return;
+   if (ec->argb)
+     {
+         if (ec->comp_data->sub.below_obj)
+           {
+               evas_object_del(ec->comp_data->sub.below_obj);
+               ec->comp_data->sub.below_obj = NULL;
+           }
+         return;
+     }
 
    if (ec->comp_data->sub.below_list ||
        ec->comp_data->sub.below_list_pending ||