forked from enlightenment/enlightenment
add util function for determining presence of x11 compositor
This commit is contained in:
parent
dd1ff970ac
commit
1dbe0b4eb8
|
@ -225,5 +225,11 @@ e_comp_util_client_is_fullscreen(const E_Client *ec)
|
|||
);
|
||||
}
|
||||
|
||||
static inline Eina_Bool
|
||||
e_comp_util_has_x(void)
|
||||
{
|
||||
return !!e_comp->root;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue