Check for valid ee->prop.window before trying to fetch window
authorChris Michael <cp.michael@samsung.com>
Fri, 5 Jul 2013 10:09:25 +0000 (11:09 +0100)
committerChris Michael <cp.michael@samsung.com>
Fri, 5 Jul 2013 10:09:25 +0000 (11:09 +0100)
attributes from it.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/ecore_evas/engines/x/ecore_evas_x.c

index 0d0e5ba..a505a50 100644 (file)
@@ -3671,7 +3671,7 @@ ecore_evas_software_x11_pixmap_new_internal(const char *disp_name, Ecore_X_Windo
         einfo->info.screen = NULL;
 # endif
 
-        if (argb)
+        if ((argb) && (ee->prop.window))
           {
              Ecore_X_Window_Attributes at;