[PATCH weston 3/9] ivi-shell: remove DEST_RECT_ONLY transition

Emre Ucan eucan at de.adit-jv.com
Wed May 23 08:25:37 UTC 2018


we can use VIEW_MOVE_RESIZE tranisition instead

Signed-off-by: Emre Ucan <eucan at de.adit-jv.com>
---
 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



More information about the wayland-devel mailing list