e_plane: ignore current plane when checking can_surface_set
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 21 Aug 2017 05:13:05 +0000 (14:13 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Wed, 20 Sep 2017 04:31:34 +0000 (13:31 +0900)
Change-Id: Ib500c1d57931f4f3711512d9374504209f8ea060
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
src/bin/e_plane.c

index 332b44c147a5347e8ba38d96b7aed40e0ebf66bf..b8e11a9789e5b629da763835427b2ee7097b3000 100644 (file)
@@ -117,6 +117,8 @@ _e_plane_surface_can_set(E_Plane *plane, tbm_surface_h tsurface)
 
    EINA_LIST_FOREACH(output->planes, l, tmp_plane)
      {
+        if (plane == tmp_plane) continue;
+
         if (tmp_plane->tsurface == tsurface)
           {
              if (plane_trace_debug)