Setup XDG_RUNTIME_DIR before doing ecore_imf init.
authorChris Michael <cp.michael@samsung.com>
Fri, 26 Jul 2013 11:05:52 +0000 (12:05 +0100)
committerChris Michael <cp.michael@samsung.com>
Fri, 26 Jul 2013 11:05:52 +0000 (12:05 +0100)
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>
src/bin/e_main.c

index e1f8cdd..9ca9b83 100644 (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");