reorder comp_x init
authorMike Blumenkrantz <zmike@samsung.com>
Sun, 11 May 2014 16:58:29 +0000 (12:58 -0400)
committerMike Blumenkrantz <zmike@samsung.com>
Sun, 11 May 2014 16:58:29 +0000 (12:58 -0400)
src/bin/e_comp_x.c

index 96045cb..77a6479 100644 (file)
@@ -5089,12 +5089,6 @@ _e_comp_x_screens_setup(void)
 EINTERN Eina_Bool
 e_comp_x_init(void)
 {
-   clients_win_hash = eina_hash_int32_new(NULL);
-   damages_hash = eina_hash_int32_new(NULL);
-   alarm_hash = eina_hash_int32_new(NULL);
-   frame_extents = eina_hash_string_superfast_new(free);
-
-
    if (!ecore_x_init(NULL))
      {
         e_error_message_show(_("Enlightenment cannot initialize Ecore_X!\n"));
@@ -5129,6 +5123,11 @@ e_comp_x_init(void)
      }
    ecore_x_screensaver_event_listen_set(1);
 
+   clients_win_hash = eina_hash_int32_new(NULL);
+   damages_hash = eina_hash_int32_new(NULL);
+   alarm_hash = eina_hash_int32_new(NULL);
+   frame_extents = eina_hash_string_superfast_new(free);
+
    E_LIST_HANDLER_APPEND(handlers, E_EVENT_COMP_OBJECT_ADD, _e_comp_x_object_add, NULL);
 
    E_LIST_HANDLER_APPEND(handlers, ECORE_X_EVENT_WINDOW_DESTROY, _e_comp_x_destroy, NULL);