summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeunghun Lee <shiin.lee@samsung.com>2013-06-12 21:33:28 +0900
committerSeunghun Lee <shiin.lee@samsung.com>2013-06-12 22:02:02 +0900
commit277f6a532bb6404d92bfb03c2e946629bd5650a9 (patch)
treef7116606c0045a8ad1263c1e8a8129b6733b2b29
parentdd7b5cc47dd9cab9e17f8d81013de3a10cc0e803 (diff)
downloade17-277f6a532bb6404d92bfb03c2e946629bd5650a9.tar.gz
e17-277f6a532bb6404d92bfb03c2e946629bd5650a9.tar.bz2
e17-277f6a532bb6404d92bfb03c2e946629bd5650a9.zip
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
-rw-r--r--src/bin/e_border.c4
1 files changed, 1 insertions, 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;