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:
f31ed5b
)
enlightenment: Fix building for wayland-only
author
Chris Michael
<cp.michael@samsung.com>
Tue, 17 Feb 2015 15:46:19 +0000
(10:46 -0500)
committer
Chris Michael
<cp.michael@samsung.com>
Tue, 17 Feb 2015 15:46:19 +0000
(10:46 -0500)
We don't have e_randr2 calls for wayland yet, so ifdef those out if we
are building for wayland only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/e_actions.c
patch
|
blob
|
history
diff --git
a/src/bin/e_actions.c
b/src/bin/e_actions.c
index
203734f
..
dcf5158
100644
(file)
--- a/
src/bin/e_actions.c
+++ b/
src/bin/e_actions.c
@@
-2372,6
+2372,7
@@
ACT_FN_GO(suspend, )
static Eina_Bool
_have_lid_and_external_screens_on(void)
{
+#ifndef HAVE_WAYLAND_ONLY
Eina_List *l;
E_Randr2_Screen *s;
int lids = 0;
@@
-2386,6
+2387,7
@@
_have_lid_and_external_screens_on(void)
ext_screens++;
}
if ((lids > 0) && (ext_screens > 0)) return EINA_TRUE;
+#endif
return EINA_FALSE;
}