e_comp_wl: Delete below background object if client want to change its opaque state... 87/199887/1
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:39:08 +0000 (16:39 +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 65be2dcc61d991e2b1c536df6e605441f9553133..9604c78d109ef016644036a26596512351cd56e1 100644 (file)
@@ -3594,7 +3594,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 ||