forked from enlightenment/enlightenment
return 0 for client util window_get inlines if no pixmap available
This commit is contained in:
parent
57903b7aa3
commit
03accb7525
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue