e_hwc: unset plane if ec of plane and ec are same 52/192852/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 9 Nov 2018 08:55:01 +0000 (17:55 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Fri, 9 Nov 2018 08:55:01 +0000 (17:55 +0900)
Change-Id: Ia456f707c5b6e5deb1e1b17a64060ac7b183a56f

src/bin/e_hwc_planes.c

index 20082340a6fca3d4295a036879bd494dd9913c56..60979fe3e023da83a2d714f74d66c6676f04b099 100644 (file)
@@ -699,8 +699,11 @@ e_hwc_planes_client_end(E_Hwc *hwc, E_Client *ec, const char *location)
              continue;
           }
 
-        if (!e_hwc_client_is_above_hwc(ec, plane->ec))
-          continue;
+        if (plane->ec != ec)
+          {
+             if (!e_hwc_client_is_above_hwc(ec, plane->ec));
+               continue;
+          }
 
         if (e_plane_is_reserved(plane))
           e_plane_reserved_set(plane, 0);