e_plane: add E_PLANE_HOOK_UNSET 43/144943/6
authorBhavi Dhingra <b.dhingra@samsung.com>
Fri, 18 Aug 2017 11:34:48 +0000 (17:04 +0530)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 28 Aug 2017 23:09:37 +0000 (23:09 +0000)
Change-Id: Ic2697ef12ede92b7afae21a7f98921541612c2d5
Signed-off-by: Bhavi Dhingra <b.dhingra@samsung.com>
src/bin/e_plane.c [changed mode: 0644->0755]
src/bin/e_plane.h [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 97ceed6..a7c4024
@@ -35,6 +35,7 @@ static int _e_plane_hooks_walking = 0;
 static Eina_Inlist *_e_plane_hooks[] =
 {
    [E_PLANE_HOOK_VIDEO_SET] = NULL,
+   [E_PLANE_HOOK_UNSET] = NULL,
 };
 
 static void
@@ -178,6 +179,8 @@ _e_plane_surface_unset(E_Plane *plane)
         return EINA_FALSE;
      }
 
+   _e_plane_hook_call(E_PLANE_HOOK_UNSET, plane);
+
    return EINA_TRUE;
 }
 
old mode 100644 (file)
new mode 100755 (executable)
index 53076f6..1a3e9f4
@@ -128,6 +128,7 @@ struct _E_Plane_Commit_Data {
 typedef enum _E_Plane_Hook_Point
 {
    E_PLANE_HOOK_VIDEO_SET,
+   E_PLANE_HOOK_UNSET,
    E_PLANE_HOOK_LAST
 } E_Plane_Hook_Point;