e_plane: do not set ec to plane if unset_commit is set true
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 21 Aug 2017 07:36:46 +0000 (16:36 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Wed, 20 Sep 2017 04:31:34 +0000 (13:31 +0900)
Change-Id: I74f65cc9f07594c2e2b21aba559753ba1ecb3cea
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
src/bin/e_plane.c

index b8e11a9789e5b629da763835427b2ee7097b3000..82c6e9321bc6e0f69afa21c512f901185a824045 100644 (file)
@@ -1966,7 +1966,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;