make e_client_util_desk_visible() work for overrides without desks

This commit is contained in:
Mike Blumenkrantz 2015-07-06 12:29:27 -04:00
parent c8db4e08fc
commit 970b46b631
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ static inline Eina_Bool
e_client_util_desk_visible(const E_Client *ec, const E_Desk *desk) e_client_util_desk_visible(const E_Client *ec, const E_Desk *desk)
{ {
if (!ec) return EINA_FALSE; if (!ec) return EINA_FALSE;
return ec->sticky || (ec->desk == desk); return !ec->desk || ec->sticky || (ec->desk == desk);
} }
static inline Ecore_Window static inline Ecore_Window