From: Mike Blumenkrantz Date: Thu, 13 Mar 2014 14:35:10 +0000 (-0400) Subject: always init container coords when beginning gadcon drag X-Git-Tag: upstream/0.19.99~1382 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2425ec363cc306af5e789715bfa9af4a9ea00cdf;p=platform%2Fupstream%2Fenlightenment.git always init container coords when beginning gadcon drag CIDs 1135457, 1135456 --- diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c index f5d3f9a..d34a38d 100644 --- a/src/bin/e_gadcon.c +++ b/src/bin/e_gadcon.c @@ -2547,12 +2547,12 @@ _e_gadcon_client_move_start(E_Gadcon_Client *gcc) evas_object_raise(gcc->o_event); evas_object_stack_below(gcc->o_control, gcc->o_event); gcc->moving = 1; + evas_object_geometry_get(gcc->gadcon->o_container, &gx, &gy, NULL, NULL); if (gcc->gadcon->toolbar) evas_pointer_canvas_xy_get(gcc->gadcon->evas, &gcc->dx, &gcc->dy); else { ecore_evas_pointer_xy_get(e_comp_get(gcc)->ee, &gcc->dx, &gcc->dy); - evas_object_geometry_get(gcc->gadcon->o_container, &gx, &gy, NULL, NULL); gcc->dx -= gx; gcc->dy -= gy; }