forked from enlightenment/enlightenment
check X comp_data existence in pixmap PRESENT usage during refresh
CID 1155279
This commit is contained in:
parent
450d6cf321
commit
b373b561e4
|
@ -332,7 +332,8 @@ e_pixmap_refresh(E_Pixmap *cp)
|
|||
e_comp_object_native_surface_set(cp->client->frame, 0);
|
||||
success = !!pixmap;
|
||||
if (!success) break;
|
||||
if (ecore_x_present_exists() && cp->client->comp_data->pw && cp->client->comp_data->ph &&
|
||||
if (ecore_x_present_exists() && cp->client->comp_data &&
|
||||
cp->client->comp_data->pw && cp->client->comp_data->ph &&
|
||||
(!e_client_util_resizing_get(cp->client))) //PRESENT is unreliable during resizes
|
||||
{
|
||||
pw = cp->client->comp_data->pw;
|
||||
|
|
Loading…
Reference in New Issue