discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=b373b561e4ad4732a0aee9ffbb1c9eb60822a61a

commit b373b561e4ad4732a0aee9ffbb1c9eb60822a61a
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Thu Mar 13 12:22:04 2014 -0400

    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 8f81351..46f6646 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;

-- 


Reply via email to