we can use VIEW_MOVE_RESIZE tranisition instead

Signed-off-by: Emre Ucan <[email protected]>
---
 ivi-shell/ivi-layout-export.h | 1 -
 ivi-shell/ivi-layout.c        | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h
index b3f5beb..f84c967 100644
--- a/ivi-shell/ivi-layout-export.h
+++ b/ivi-shell/ivi-layout-export.h
@@ -130,7 +130,6 @@ enum ivi_layout_notification_mask {
 enum ivi_layout_transition_type{
        IVI_LAYOUT_TRANSITION_NONE,
        IVI_LAYOUT_TRANSITION_VIEW_DEFAULT,
-       IVI_LAYOUT_TRANSITION_VIEW_DEST_RECT_ONLY,
        IVI_LAYOUT_TRANSITION_VIEW_FADE_ONLY,
        IVI_LAYOUT_TRANSITION_LAYER_FADE,
        IVI_LAYOUT_TRANSITION_LAYER_MOVE,
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index d9a0c2d..8ff33e7 100644
--- a/ivi-shell/ivi-layout.c
+++ b/ivi-shell/ivi-layout.c
@@ -666,7 +666,7 @@ commit_surface_list(struct ivi_layout *layout)
                        ivisurf->prop.transition_type = 
IVI_LAYOUT_TRANSITION_NONE;
                        ivisurf->pending.prop.transition_type = 
IVI_LAYOUT_TRANSITION_NONE;
 
-               } else if (ivisurf->pending.prop.transition_type == 
IVI_LAYOUT_TRANSITION_VIEW_DEST_RECT_ONLY) {
+               } else if (ivisurf->pending.prop.transition_type == 
IVI_LAYOUT_TRANSITION_VIEW_MOVE_RESIZE) {
                        dest_x = ivisurf->prop.dest_x;
                        dest_y = ivisurf->prop.dest_y;
                        dest_width = ivisurf->prop.dest_width;
-- 
2.7.4

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to