e_plane: if external plane, just set ec to plane. 19/172219/1
authorJunkyeong Kim <jk0430.kim@samsung.com>
Tue, 13 Mar 2018 01:51:03 +0000 (10:51 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Tue, 13 Mar 2018 01:51:08 +0000 (10:51 +0900)
Change-Id: I2bf3f1186125f379f8e8c7bc6a3ffd49459d935b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/bin/e_plane.c

index 05707c1..e17629e 100644 (file)
@@ -2610,6 +2610,8 @@ e_plane_ec_set(E_Plane *plane, E_Client *ec)
      ELOGF("E_PLANE", "Request Plane(%p) zpos(%d)   Set ec(%p, %s)",
            (ec ? ec->pixmap : NULL), ec, plane, plane->zpos, ec, e_client_util_name_get(ec));
 
+   if (plane->is_external) goto end;
+
    if (ec && !e_object_is_del(E_OBJECT(ec)) && (plane->is_fb || !plane->ec))
      {
         if (plane->ec == ec) return EINA_TRUE;
@@ -2784,7 +2786,7 @@ e_plane_ec_set(E_Plane *plane, E_Client *ec)
              return EINA_FALSE;
           }
      }
-
+end:
    plane->ec = ec;
    plane->need_ev = EINA_TRUE;