force full rerender on present pixmap size change

a new X extension should make this unnecessary in the future for pixmap resizes, but for now it seems to be a necessary evil

fix T993
This commit is contained in:
Mike Blumenkrantz 2014-02-28 10:48:54 -05:00
parent c720451933
commit 54999472de
1 changed files with 1 additions and 7 deletions

View File

@ -2550,13 +2550,7 @@ _e_comp_x_present_configure(void *data EINA_UNUSED, int t EINA_UNUSED, Ecore_X_E
{
//WRN("PRESENT %p: %dx%d", ec, ev->pixmap_width, ev->pixmap_height);
e_pixmap_dirty(ec->pixmap);
if (e_comp_object_damage_exists(ec->frame))
{
if (starting)
e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
else
e_comp_object_render_update_add(ec->frame);
}
e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
ec->comp_data->pw = ev->pixmap_width;
ec->comp_data->ph = ev->pixmap_height;
}