aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_atoms.c
diff options
context:
space:
mode:
authorhandyande <handyande>2005-01-20 14:01:31 +0000
committerhandyande <handyande@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-01-20 14:01:31 +0000
commiteb0f1bd307ab7710aaed61463ece2e84c40b9b8d (patch)
treec597b78b67ffd32d2affbe468dc560621d6f4fdd /src/bin/e_atoms.c
parentmore gadman work... on the way there... (diff)
downloadenlightenment-eb0f1bd307ab7710aaed61463ece2e84c40b9b8d.tar.gz
Remeber border hints when restarting (or recovering) E. This is currently set on all windows all the time in case of crash - it could be moved to being set on E shutdown (before a restart)
SVN revision: 13028
Diffstat (limited to 'src/bin/e_atoms.c')
-rw-r--r--src/bin/e_atoms.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bin/e_atoms.c b/src/bin/e_atoms.c
index 425930885..ba78d6ee0 100644
--- a/src/bin/e_atoms.c
+++ b/src/bin/e_atoms.c
@@ -1,12 +1,18 @@
#include "e.h"
/* Atoms */
-/* There are no e17 specific atoms defined yet */
+Ecore_X_Atom E_ATOM_MANAGED = 0;
+Ecore_X_Atom E_ATOM_DESK = 0;
+Ecore_X_Atom E_ATOM_ICONIC = 0;
/* externally accessible functions */
int
e_atoms_init(void)
{
+ E_ATOM_MANAGED = ecore_x_atom_get("__E_WINDOW_MANAGED");
+ E_ATOM_DESK = ecore_x_atom_get("__E_WINDOW_DESK");
+ E_ATOM_ICONIC = ecore_x_atom_get("__E_WINDOW_ICONIC");
+
return 1;
}