aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-06-25 18:54:27 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-06-25 20:04:31 -0400
commit56a2dd11c2fca2183a1b2afc7877fbe0118b0189 (patch)
tree65c3b786a5e500bcfaefeb93f3cf3dc3fb3dfbf0 /src
parentuse c array size for e atom init (diff)
downloadenlightenment-56a2dd11c2fca2183a1b2afc7877fbe0118b0189.tar.gz
add setup for WL_SURFACE_ID X atom
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_atoms.c5
-rw-r--r--src/bin/e_atoms.h1
2 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/e_atoms.c b/src/bin/e_atoms.c
index 3b021848c..3a95f8f8b 100644
--- a/src/bin/e_atoms.c
+++ b/src/bin/e_atoms.c
@@ -13,6 +13,7 @@ E_API Ecore_X_Atom E_ATOM_WINDOW_STATE = 0;
E_API Ecore_X_Atom E_ATOM_WINDOW_STATE_CENTERED = 0;
E_API Ecore_X_Atom E_ATOM_DESKTOP_FILE = 0;
E_API Ecore_X_Atom E_ATOM_ZONE_GEOMETRY = 0;
+E_API Ecore_X_Atom WL_SURFACE_ID = 0;
#endif
/* externally accessible functions */
@@ -31,7 +32,8 @@ e_atoms_init(void)
"__E_ATOM_WINDOW_STATE",
"__E_ATOM_WINDOW_STATE_CENTERED",
"__E_ATOM_DESKTOP_FILE",
- "E_ZONE_GEOMETRY"
+ "E_ZONE_GEOMETRY,",
+ "WL_SURFACE_ID"
};
Ecore_X_Atom atoms[EINA_C_ARRAY_LENGTH(atom_names)];
@@ -47,6 +49,7 @@ e_atoms_init(void)
E_ATOM_WINDOW_STATE_CENTERED = atoms[8];
E_ATOM_DESKTOP_FILE = atoms[9];
E_ATOM_ZONE_GEOMETRY = atoms[10];
+ WL_SURFACE_ID = atoms[11];
#endif
return 1;
}
diff --git a/src/bin/e_atoms.h b/src/bin/e_atoms.h
index be94fc585..a22ff657d 100644
--- a/src/bin/e_atoms.h
+++ b/src/bin/e_atoms.h
@@ -24,6 +24,7 @@ extern E_API Ecore_X_Atom E_ATOM_WINDOW_STATE;
extern E_API Ecore_X_Atom E_ATOM_WINDOW_STATE_CENTERED;
extern E_API Ecore_X_Atom E_ATOM_ZONE_GEOMETRY;
+extern E_API Ecore_X_Atom WL_SURFACE_ID;
EINTERN int e_atoms_init(void);
EINTERN int e_atoms_shutdown(void);