From 277f6a532bb6404d92bfb03c2e946629bd5650a9 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Wed, 12 Jun 2013 21:33:28 +0900 Subject: [PATCH] WM has to check the border is dependent to rotate in "_e_border_rotation_check". It could cause abnormal rotation state for quickpanel and app-tray when it's launched. Change-Id: I5ed46fe6c0cc549bfb3dee76def5ebc2cb4fe6ef --- src/bin/e_border.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bin/e_border.c b/src/bin/e_border.c index 843e418..470608f 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -8027,7 +8027,6 @@ _e_border_rotation_change_request(E_Zone *zone __UNUSED__) EAPI void e_border_rotation_list_clear(E_Zone *zone, Eina_Bool send_request) { - Eina_List *l = NULL; E_Border_Rotation_Info *info = NULL; if (send_request) _e_border_rotation_change_request(zone); @@ -8215,11 +8214,11 @@ _e_border_rotation_check(E_Border *bd) Eina_List *nl = NULL; int x, y, w, h, ang = 0; int _ang = 0; - Eina_Bool resize = EINA_TRUE; Eina_Bool hint = EINA_FALSE; Eina_Bool move = EINA_TRUE; if (!e_config->wm_win_rotation) return EINA_FALSE; + if (bd->client.e.state.rot.type != E_BORDER_ROTATION_TYPE_NORMAL) return EINA_FALSE; ELB(ELBT_ROT, "CHECK ROT", bd->client.win); @@ -8641,7 +8640,6 @@ _e_border_rotation_start(E_Zone *zone, Eina_Bool without_vkbd) E_Border_List *l = NULL; Eina_List *nl = NULL; E_Border *bd = NULL; - E_Border_Rotation_Info *info = NULL; if (!e_config->wm_win_rotation) return EINA_FALSE; -- 2.7.4