The problem that e17 couldn't move/resize window when the window fetch the rotation... 24/9724/1
authorShawn Lee <shiin.lee@samsung.com>
Tue, 25 Jun 2013 06:33:34 +0000 (15:33 +0900)
committerShawn Lee <shiin.lee@samsung.com>
Tue, 25 Jun 2013 10:36:07 +0000 (19:36 +0900)
Change-Id: If3c8d71fdce97133854c38bb5b94f2ae9add45d4

src/bin/e_border.c

index d23bcc5..78eb7cd 100644 (file)
@@ -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