Check for valid ee->prop.window before trying to fetch window

attributes from it.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-07-05 11:09:25 +01:00
parent 2c322cc7b1
commit 7431e6a02a
1 changed files with 1 additions and 1 deletions

View 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;