From ffc8c18b6c9c28321c98649f781ced22da9c7d79 Mon Sep 17 00:00:00 2001 From: MinJeong Kim Date: Mon, 16 May 2016 22:24:19 +0900 Subject: [PATCH] ecore_wayland: use configured width/height to send rotation event It's necessary to store configured width/height values to rotation event structure instead of allocation width/height to prevent overriding latest configured size by allocation size. Change-Id: I0b5a7f577a105cb107e3300af19ee0d91b56476f Signed-off-by: MinJeong Kim --- src/lib/ecore_wayland/ecore_wl_window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c index f020531..b18739d 100644 --- a/src/lib/ecore_wayland/ecore_wl_window.c +++ b/src/lib/ecore_wayland/ecore_wl_window.c @@ -1592,8 +1592,8 @@ _ecore_wl_window_cb_angle_change(void *data, struct tizen_rotation *tizen_rotati win->tz_rot.serial = serial; ev->win = win->id; - ev->w = win->allocation.w; - ev->h = win->allocation.h; + ev->w = win->configured.w; + ev->h = win->configured.h; switch (angle) { -- 2.7.4