From 03accb752567057d63a20da58646728597e96564 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 24 Jan 2014 17:28:32 -0500 Subject: [PATCH] return 0 for client util window_get inlines if no pixmap available --- src/bin/e_client.x | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/e_client.x b/src/bin/e_client.x index 1ea32b4ba..57e49d227 100644 --- a/src/bin/e_client.x +++ b/src/bin/e_client.x @@ -82,12 +82,14 @@ e_client_util_desk_visible(const E_Client *ec, const E_Desk *desk) static inline Ecore_Window e_client_util_pwin_get(const E_Client *ec) { + if (!ec->pixmap) return 0; return e_pixmap_parent_window_get(ec->pixmap); } static inline Ecore_Window e_client_util_win_get(const E_Client *ec) { + if (!ec->pixmap) return 0; return e_pixmap_window_get(ec->pixmap); }