From: MinJeong Kim Date: Mon, 16 May 2016 13:24:19 +0000 (+0900) Subject: ecore_wayland: use configured width/height to send rotation event X-Git-Tag: accepted/tizen/common/20160519.191115~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F69759%2F3;p=platform%2Fupstream%2Fefl.git 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 --- 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) {