From 3b81328d7375e4dc55dd9546a00737fdb45df217 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Fri, 26 Apr 2013 19:19:18 +0900 Subject: [PATCH] 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. Change-Id: Ic1b687caa93d842810bb013fd7eb65104bfed65c --- src/bin/e_border.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.7.4