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

Submitted by Ucan, Emre (ADITG/ESB) on May 23, 2018, 8:25 a.m.

Details

Message ID 1527063943-13297-4-git-send-email-eucan@de.adit-jv.com
State New
Series "Transition rework part 1"
Headers show

Commit Message

Ucan, Emre (ADITG/ESB) May 23, 2018, 8:25 a.m.
we can use VIEW_MOVE_RESIZE tranisition instead

Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
---
 ivi-shell/ivi-layout-export.h | 1 -
 ivi-shell/ivi-layout.c        | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

Patch hide | download patch | download mbox

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;