projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca8c9e
)
add comp util function for determining whether xwayland is active
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 10 Aug 2015 19:15:54 +0000
(15:15 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 10 Aug 2015 22:59:02 +0000
(18:59 -0400)
src/bin/e_comp.h
patch
|
blob
|
history
diff --git
a/src/bin/e_comp.h
b/src/bin/e_comp.h
index
5aceb01
..
74f3932
100644
(file)
--- a/
src/bin/e_comp.h
+++ b/
src/bin/e_comp.h
@@
-233,5
+233,11
@@
e_comp_util_has_x(void)
return !!e_comp->root;
}
+static inline Eina_Bool
+e_comp_util_has_xwayland(void)
+{
+ return (e_comp->comp_type != E_PIXMAP_TYPE_X) && e_comp_util_has_x();
+}
+
#endif
#endif