add client util function for detecting borderless state
This commit is contained in:
parent
02f6dcdf2a
commit
ed51fa2b96
|
@ -96,3 +96,9 @@ e_client_resizing_get(const E_Client *ec)
|
|||
{
|
||||
return (ec->resize_mode != E_POINTER_RESIZE_NONE);
|
||||
}
|
||||
|
||||
static inline Eina_Bool
|
||||
e_client_util_borderless(const E_Client *ec)
|
||||
{
|
||||
return (ec->borderless || ec->mwm.borderless || (!ec->border.name) || (!strcmp(ec->border.name, "borderless")));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue