do not adjust unplaced transient client position on parent move/resize
this breaks placement
This commit is contained in:
parent
6a28856086
commit
a7cfbcd101
|
@ -1570,9 +1570,10 @@ _e_client_cb_evas_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
|
|||
|
||||
EINA_LIST_FREE(list, child)
|
||||
{
|
||||
evas_object_move(child->frame,
|
||||
child->x + x - ec->pre_cb.x,
|
||||
child->y + y - ec->pre_cb.y);
|
||||
if (child->placed)
|
||||
evas_object_move(child->frame,
|
||||
child->x + x - ec->pre_cb.x,
|
||||
child->y + y - ec->pre_cb.y);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1611,6 +1612,8 @@ _e_client_cb_evas_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_
|
|||
{
|
||||
Evas_Coord nx, ny, nw, nh;
|
||||
|
||||
if (!child->placed) continue;
|
||||
|
||||
if ((ec->pre_cb.w > 0) && (ec->pre_cb.h > 0))
|
||||
{
|
||||
nx = x + (((child->x - x) * w) / ec->pre_cb.w);
|
||||
|
|
Loading…
Reference in New Issue