e_comp: unset plane if ec of plane and ec are same 21/192721/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 8 Nov 2018 07:31:00 +0000 (16:31 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Thu, 8 Nov 2018 07:40:02 +0000 (16:40 +0900)
Change-Id: I26769a0d51199f966679cc1ecb671b0847a3c0aa

src/bin/e_comp.c

index 8c9f131fa2ca4a0be04cd4106ce5ebbb9b396c41..8a68a37125a9a6c19866e6233b042b217b825e87 100644 (file)
@@ -1038,8 +1038,11 @@ e_comp_hwc_client_end(E_Client *ec, const char *location)
              continue;
           }
 
-        if (!_e_comp_client_is_above_hwc(ec, plane->ec))
-          continue;
+        if (plane->ec != ec)
+          {
+             if (!_e_comp_client_is_above_hwc(ec, plane->ec))
+               continue;
+          }
 
         if (e_plane_is_reserved(plane))
           e_plane_reserved_set(plane, 0);