This fixes a bug creating and destroying below bg rectangle repeatedly.
Change-Id: Ibd310e88daaeb230872812a63b3d762ef4326a36
}
else
{
- if ((topmost->comp_data->sub.below_list) ||
- (topmost->comp_data->sub.below_list_pending) ||
- (_e_comp_wl_subsurface_video_has(topmost)))
+ if ((!topmost->argb) &&
+ ((topmost->comp_data->sub.below_list) ||
+ (topmost->comp_data->sub.below_list_pending) ||
+ (_e_comp_wl_subsurface_video_has(topmost))))
{
ELOGF("COMP", "it has below subsurfaces and video.", topmost);
_e_comp_wl_subsurface_below_obj_create(topmost);