Setup XDG_RUNTIME_DIR before doing ecore_imf init.

NB: Ecore_IMF (when it uses the wayland module) needs to have
xdg_runtime_dir set. This change ensures that env variable is set
before we init ecore_imf.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-07-26 12:05:52 +01:00
parent 85eaf423b4
commit 9e9651aad5
1 changed files with 2 additions and 2 deletions

View File

@ -387,6 +387,8 @@ main(int argc, char **argv)
ecore_x_io_error_handler_set(_e_main_cb_x_fatal, NULL);
_xdg_data_dirs_augment();
#ifdef HAVE_ECORE_IMF
TS("Ecore_IMF Init");
if (!ecore_imf_init())
@ -521,8 +523,6 @@ main(int argc, char **argv)
TS("E_Config Init Done");
_e_main_shutdown_push(e_config_shutdown);
_xdg_data_dirs_augment();
_fix_user_default_edj();
TS("E_Randr Init");