elm win - fix tracking of current position to properly store it in win obj
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 26 Mar 2014 08:08:24 +0000 (17:08 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 26 Mar 2014 08:09:19 +0000 (17:09 +0900)
@fix of win tracking bug

src/lib/elm_win.c

index 7995382c7984b8352e8e7398331289ced4c7aa52..b64c9442d6bc9525a9d99eb21f0560a892eddc3e 100644 (file)
@@ -626,6 +626,9 @@ _elm_win_move(Ecore_Evas *ee)
    sd->screen.x = x;
    sd->screen.y = y;
    evas_object_smart_callback_call(sd->obj, SIG_MOVED, NULL);
+   evas_nochange_push(evas_object_evas_get(sd->obj));
+   evas_object_move(sd->obj, x, y);
+   evas_nochange_pop(evas_object_evas_get(sd->obj));
 }
 
 static void