aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_atoms.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-03-11 11:24:41 +0000
committerChris Michael <cp.michael@samsung.com>2014-03-18 07:43:04 +0000
commit915f8f06131132c4e2601f45fcef369cc0c39395 (patch)
tree89685cefbdc938bd709866d4444a0d30939d6c64 /src/bin/e_atoms.c
parent@bugfix: Fix configure.ac to define HAVE_WAYLAND_ONLY (diff)
downloadenlightenment-915f8f06131132c4e2601f45fcef369cc0c39395.tar.gz
@bugfix: Fix building for WAYLAND_ONLY by using the proper define
sed -i 's/WAYLAND_ONLY/HAVE_WAYLAND_ONLY/g' Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/bin/e_atoms.c')
-rw-r--r--src/bin/e_atoms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/e_atoms.c b/src/bin/e_atoms.c
index 436a772f8..a84c7591c 100644
--- a/src/bin/e_atoms.c
+++ b/src/bin/e_atoms.c
@@ -1,6 +1,7 @@
#include "e.h"
/* Atoms */
+#ifndef HAVE_WAYLAND_ONLY
EAPI Ecore_X_Atom E_ATOM_MANAGED = 0;
EAPI Ecore_X_Atom E_ATOM_ZONE = 0;
EAPI Ecore_X_Atom E_ATOM_DESK = 0;
@@ -12,11 +13,13 @@ EAPI Ecore_X_Atom E_ATOM_WINDOW_STATE = 0;
EAPI Ecore_X_Atom E_ATOM_WINDOW_STATE_CENTERED = 0;
EAPI Ecore_X_Atom E_ATOM_DESKTOP_FILE = 0;
EAPI Ecore_X_Atom E_ATOM_ZONE_GEOMETRY = 0;
+#endif
/* externally accessible functions */
EINTERN int
e_atoms_init(void)
{
+#ifndef HAVE_WAYLAND_ONLY
const char *atom_names[] = {
"__E_WINDOW_MANAGED",
"__E_WINDOW_ZONE",
@@ -44,6 +47,7 @@ e_atoms_init(void)
E_ATOM_WINDOW_STATE_CENTERED = atoms[8];
E_ATOM_DESKTOP_FILE = atoms[9];
E_ATOM_ZONE_GEOMETRY = atoms[10];
+#endif
return 1;
}