forked from enlightenment/enlightenment
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:
parent
c720451933
commit
54999472de
|
@ -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);
|
||||
}
|
||||
ec->comp_data->pw = ev->pixmap_width;
|
||||
ec->comp_data->ph = ev->pixmap_height;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue