forked from enlightenment/enlightenment
clear non-pending updates on resize
this smooths out resizes a barely noticeable amount since these updates (the pending-pending updates) are no longer relevant
This commit is contained in:
parent
4615db497c
commit
097331864a
|
@ -1938,6 +1938,7 @@ _e_comp_smart_resize(Evas_Object *obj, int w, int h)
|
||||||
if (cw->input_obj)
|
if (cw->input_obj)
|
||||||
evas_object_geometry_set(cw->input_obj, cw->x + cw->input_rect.x, cw->y + cw->input_rect.y, cw->input_rect.w, cw->input_rect.h);
|
evas_object_geometry_set(cw->input_obj, cw->x + cw->input_rect.x, cw->y + cw->input_rect.y, cw->input_rect.w, cw->input_rect.h);
|
||||||
cw->updates_full = 0;
|
cw->updates_full = 0;
|
||||||
|
if (cw->updates) eina_tiler_clear(cw->updates);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue