From f28e5ed815c1c6f7abaaedaec997f651e74c00cc Mon Sep 17 00:00:00 2001 From: Juyeon Lee Date: Tue, 19 Nov 2019 18:42:22 +0900 Subject: [PATCH] e_mod_rotation_wl: add cond. for landscape prefer app the early angle change event should be sent for landscape prefer(90|270) app but by the commit 625eaefe2674950f4c3337703c48c0a29966481a if preferred_angle is 0 or 180 but tizen_rotation ver 1, it may send angle_change_with_resize event Change-Id: I4e65f325e71f0bfd29e3cd15933811f7a9902fef --- src/rotation/e_mod_rotation_wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rotation/e_mod_rotation_wl.c b/src/rotation/e_mod_rotation_wl.c index ce40b8a..c1855f5 100644 --- a/src/rotation/e_mod_rotation_wl.c +++ b/src/rotation/e_mod_rotation_wl.c @@ -544,7 +544,7 @@ _e_tizen_rotation_set_preferred_angle_cb(struct wl_client *client, ec->e.state.rot.preferred_rot = TIZEN_ROTATION_ANGLE_TO_INT(angle); return; } - else + else if ((tz_angle == TIZEN_ROTATION_ANGLE_90) || (tz_angle == TIZEN_ROTATION_ANGLE_270)) { EDBG(ec, "Send Change Rotation: angle %d for rendering preparation of landscape mode only app. mapped:%d serial:%u", tz_angle, ec->first_mapped, serial); -- 2.34.1