aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_atoms.c
diff options
context:
space:
mode:
authorHannes Janetzek <hannes.janetzek@gmail.com>2009-08-28 09:25:36 +0000
committerHannes Janetzek <hannes.janetzek@gmail.com>2009-08-28 09:25:36 +0000
commit1e8112a09e688d59795f84498a03062e071147e3 (patch)
treede6e81f57d130c0000ab58ea91dd3bc1ffbe6cdf /src/bin/e_atoms.c
parente_exec: wait for openoffice to come an grab its icon (diff)
downloadenlightenment-1e8112a09e688d59795f84498a03062e071147e3.tar.gz
remember the borders' .desktop file after restart
SVN revision: 42067
Diffstat (limited to 'src/bin/e_atoms.c')
-rw-r--r--src/bin/e_atoms.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/bin/e_atoms.c b/src/bin/e_atoms.c
index 72207d22d..1575186a1 100644
--- a/src/bin/e_atoms.c
+++ b/src/bin/e_atoms.c
@@ -14,6 +14,7 @@ EAPI Ecore_X_Atom E_ATOM_HIDDEN = 0;
EAPI Ecore_X_Atom E_ATOM_BORDER_SIZE = 0;
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;
/* externally accessible functions */
EAPI int
@@ -29,11 +30,12 @@ e_atoms_init(void)
"__E_WINDOW_HIDDEN",
"__E_WINDOW_BORDER_SIZE",
"__E_ATOM_WINDOW_STATE",
- "__E_ATOM_WINDOW_STATE_CENTERED"
+ "__E_ATOM_WINDOW_STATE_CENTERED",
+ "__E_ATOM_DESKTOP_FILE"
};
- Ecore_X_Atom atoms[10];
+ Ecore_X_Atom atoms[11];
- ecore_x_atoms_get(atom_names, 10, atoms);
+ ecore_x_atoms_get(atom_names, 11, atoms);
E_ATOM_MANAGED = atoms[0];
E_ATOM_CONTAINER = atoms[1];
E_ATOM_ZONE = atoms[2];
@@ -44,6 +46,7 @@ e_atoms_init(void)
E_ATOM_BORDER_SIZE = atoms[7];
E_ATOM_WINDOW_STATE = atoms[8];
E_ATOM_WINDOW_STATE_CENTERED = atoms[9];
+ E_ATOM_DESKTOP_FILE = atoms[10];
return 1;
}