devilhorns pushed a commit to branch master.

commit 7431e6a02aacb657142d0b7125d390b3f81eb3bf
Author: Chris Michael <[email protected]>
Date:   Fri Jul 5 11:09:25 2013 +0100

    Check for valid ee->prop.window before trying to fetch window
    attributes from it.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/ecore_evas/engines/x/ecore_evas_x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c 
b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
index 0d0e5ba..a505a50 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -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;
 

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to