From b373b561e4ad4732a0aee9ffbb1c9eb60822a61a Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 13 Mar 2014 12:22:04 -0400 Subject: [PATCH] check X comp_data existence in pixmap PRESENT usage during refresh CID 1155279 --- src/bin/e_pixmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c index 8f81351e6..46f66469e 100644 --- a/src/bin/e_pixmap.c +++ b/src/bin/e_pixmap.c @@ -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;