summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeunghun Lee <shiin.lee@samsung.com>2013-04-26 19:19:18 +0900
committerSeunghun Lee <shiin.lee@samsung.com>2013-04-26 19:35:42 +0900
commit3b81328d7375e4dc55dd9546a00737fdb45df217 (patch)
tree30c2b327b8921890ae74da68f3e4f1343b3fd617
parentf85baebda8ac5f1b096bc5f83c5c12096e288caf (diff)
downloade17-3b81328d7375e4dc55dd9546a00737fdb45df217.tar.gz
e17-3b81328d7375e4dc55dd9546a00737fdb45df217.tar.bz2
e17-3b81328d7375e4dc55dd9546a00737fdb45df217.zip
Modify to compare angle that comming from client by rotation done message with BORDER's angle. Since originally code compared angle from client with ZONE's angle, WM's rotation done logic couldn't be processed, when client has to rotate landscape state by setting preffered rotation under device is in portrait.submit/tizen_2.1/20130426.145127accepted/tizen_2.1/20130426.1502132.1b_release
Change-Id: Ic1b687caa93d842810bb013fd7eb65104bfed65c
-rw-r--r--src/bin/e_border.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index b77269c..c94f0c8 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -6774,7 +6774,7 @@ _e_border_cb_client_message(void *data __UNUSED__,
if (e_config->wm_win_rotation)
{
- if ((int)e->data.l[1] == bd->zone->rot.curr)
+ if ((int)e->data.l[1] == bd->client.e.state.rot.curr)
_e_border_rotation_list_remove(bd);
}
}