From b87390b355e8d42e889c52584f766b9a09bd96b6 Mon Sep 17 00:00:00 2001 From: Shawn Lee Date: Tue, 25 Jun 2013 15:33:34 +0900 Subject: [PATCH] The problem that e17 couldn't move/resize window when the window fetch the rotation geometry hints has been fixed. Change-Id: If3c8d71fdce97133854c38bb5b94f2ae9add45d4 --- src/bin/e_border.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/bin/e_border.c b/src/bin/e_border.c index d23bcc5..78eb7cd 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -10074,19 +10074,18 @@ _e_border_eval0(E_Border *bd) { if (need_rotation_set) { - ELB(ELBT_ROT, "NEED ROT", bd->client.win); - bd->client.e.state.rot.changes = _e_border_rotation_angle_get(bd); - if (bd->client.e.state.rot.changes != -1) bd->changed = 1; - } - - if (bd->new_client) - { Eina_Bool hint = EINA_FALSE; int ang = 0; int x, y, w, h, move; + ELB(ELBT_ROT, "NEED ROT", bd->client.win); + bd->client.e.state.rot.changes = _e_border_rotation_angle_get(bd); + if (bd->client.e.state.rot.changes != -1) - ang = bd->client.e.state.rot.changes; + { + ang = bd->client.e.state.rot.changes; + bd->changed = 1; + } else ang = bd->client.e.state.rot.curr; hint = _e_border_rotation_geom_get(bd, bd->zone, ang, &x, &y, &w, &h, &move); @@ -10097,7 +10096,6 @@ _e_border_eval0(E_Border *bd) bd->client.icccm.name, x, y, w, h); } } - } #endif -- 2.7.4