aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_atoms.c
diff options
context:
space:
mode:
authorKim Woelders <kim@woelders.dk>2004-12-05 09:30:59 +0000
committerKim Woelders <kim@woelders.dk>2004-12-05 09:30:59 +0000
commite6dc661ce1c1318caa6c14c3a8f41fb8a594ea25 (patch)
tree6f9bd9df40b66305e1521aa9cf7adeba671ef07e /src/bin/e_atoms.c
parentibar saves config... (diff)
downloadenlightenment-e6dc661ce1c1318caa6c14c3a8f41fb8a594ea25.tar.gz
Use ecore_x exported atoms.
SVN revision: 12360
Diffstat (limited to 'src/bin/e_atoms.c')
-rw-r--r--src/bin/e_atoms.c23
1 files changed, 2 insertions, 21 deletions
diff --git a/src/bin/e_atoms.c b/src/bin/e_atoms.c
index fbdcf6490..425930885 100644
--- a/src/bin/e_atoms.c
+++ b/src/bin/e_atoms.c
@@ -1,31 +1,12 @@
#include "e.h"
-/* atom globals */
-int _e_atom_wm_name = 0;
-int _e_atom_wm_class = 0;
-int _e_atom_wm_hints = 0;
-int _e_atom_wm_size_hints = 0;
-int _e_atom_wm_protocols = 0;
-int _e_atom_wm_icon_name = 0;
-int _e_atom_wm_client_machine = 0;
-int _e_atom_motif_wm_hints = 0;
-int _e_atom_netwm_pid = 0;
-int _e_atom_netwm_desktop = 0;
+/* Atoms */
+/* There are no e17 specific atoms defined yet */
/* externally accessible functions */
int
e_atoms_init(void)
{
- _e_atom_wm_name = ecore_x_atom_get("WM_NAME");
- _e_atom_wm_class = ecore_x_atom_get("WM_CLASS");
- _e_atom_wm_hints = ecore_x_atom_get("WM_HINTS");
- _e_atom_wm_size_hints = ecore_x_atom_get("WM_SIZE_HINTS");
- _e_atom_wm_protocols = ecore_x_atom_get("WM_PROTOCOLS");
- _e_atom_wm_icon_name = ecore_x_atom_get("WM_ICON_NAME");
- _e_atom_wm_client_machine = ecore_x_atom_get("WM_CLIENT_MACHINE");
- _e_atom_motif_wm_hints = ecore_x_atom_get("_MOTIF_WM_HINTS");
- _e_atom_netwm_pid = ecore_x_atom_get("_NET_WM_PID");
- _e_atom_netwm_desktop = ecore_x_atom_get("_NET_WM_DESKTOP");
return 1;
}