discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=1dbe0b4eb8253d2fabd5397b02eb05e4972d1ebc

commit 1dbe0b4eb8253d2fabd5397b02eb05e4972d1ebc
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Jul 1 16:05:25 2015 -0400

    add util function for determining presence of x11 compositor
---
 src/bin/e_comp.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/bin/e_comp.h b/src/bin/e_comp.h
index 6b8cbcb..7912b4f 100644
--- a/src/bin/e_comp.h
+++ b/src/bin/e_comp.h
@@ -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

-- 


Reply via email to