forked from enlightenment/enlightenment
only use fast-path pixmap size updating after a resize for x11 clients
updating these values after other operations will result in the pixmap size being set inaccurately, leading to rendering inconsistencies
This commit is contained in:
parent
1bfbff09de
commit
16f20ff336
|
@ -626,6 +626,7 @@ _e_comp_x_post_client_idler_cb(void *d EINA_UNUSED)
|
|||
/* flag gets unset in property cb to avoid fetching opacity after we just set it */
|
||||
}
|
||||
if (ec->post_resize)
|
||||
{
|
||||
e_pixmap_dirty(ec->pixmap);
|
||||
e_comp_object_render_update_del(ec->frame);
|
||||
if (!ec->internal)
|
||||
|
@ -633,6 +634,7 @@ _e_comp_x_post_client_idler_cb(void *d EINA_UNUSED)
|
|||
ec->comp_data->pw = ec->client.w;
|
||||
ec->comp_data->ph = ec->client.h;
|
||||
}
|
||||
}
|
||||
ec->post_move = 0;
|
||||
ec->post_resize = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue