forked from enlightenment/enlightenment
do not reset existing client damage on resize if tiler size matches pixmap size
this probably indicates a case where the client wasn't actually resized and the compositor is doing something like shading a window
This commit is contained in:
parent
55f4a37492
commit
a76e9aa8fe
|
@ -2608,9 +2608,18 @@ _e_comp_smart_resize(Evas_Object *obj, int w, int h)
|
|||
/* resize render update tiler */
|
||||
if (!first)
|
||||
{
|
||||
RENDER_DEBUG("DAMAGE UNFULL: %p", cw->ec);
|
||||
cw->updates_full = 0;
|
||||
if (cw->updates) eina_tiler_clear(cw->updates);
|
||||
if (cw->updates)
|
||||
{
|
||||
int tw, th;
|
||||
|
||||
eina_tiler_area_size_get(cw->updates, &tw, &th);
|
||||
if ((tw != pw) || (th != ph))
|
||||
{
|
||||
RENDER_DEBUG("DAMAGE UNFULL: %p", cw->ec);
|
||||
cw->updates_full = 0;
|
||||
eina_tiler_clear(cw->updates);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue