do not set client window coordinates during a move until after resizing check
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 28 Sep 2015 19:36:58 +0000 (15:36 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 28 Sep 2015 19:36:58 +0000 (15:36 -0400)
fixes case where values would be erroneously updated when they should instead
have been rejected

ref T2750

src/bin/e_comp_object.c

index 8c00cf8..e1d4b84 100644 (file)
@@ -948,9 +948,9 @@ _e_comp_intercept_move(void *data, Evas_Object *obj, int x, int y)
           }
         return;
      }
-   cw->ec->x = x, cw->ec->y = y;
    /* only update during resize if triggered by resize */
    if (e_client_util_resizing_get(cw->ec) && (!cw->force_move)) return;
+   cw->ec->x = x, cw->ec->y = y;
    if (cw->ec->new_client)
      {
         /* don't actually do anything until first client idler loop */