e_plane: do not set ec to plane if unset_commit is set true 97/146697/3
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 21 Aug 2017 07:36:46 +0000 (16:36 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 4 Sep 2017 09:43:02 +0000 (09:43 +0000)
Change-Id: I74f65cc9f07594c2e2b21aba559753ba1ecb3cea
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
src/bin/e_plane.c

index a7c402414b7daa3a04ef72e4975457bfb586b977..e2ba32f68e1af55df50d586e6491ec7b871aa8ee 100755 (executable)
@@ -1981,7 +1981,9 @@ e_plane_ec_set(E_Plane *plane, E_Client *ec)
           {
              if (!plane->is_fb)
                {
-                  if (e_plane_is_unset_candidate(plane) || e_plane_is_unset_try(plane))
+                  if (e_plane_is_unset_candidate(plane) ||
+                      e_plane_is_unset_try(plane) ||
+                      plane->unset_commit)
                     {
                        INF("Trying to unset plane:%p zpos:%d", plane, plane->zpos);
                        return EINA_FALSE;