From 16ad939ecb69380a9a3b57a4ffe21969c85b93a9 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Sun, 11 May 2014 12:58:29 -0400 Subject: [PATCH] reorder comp_x init --- src/bin/e_comp_x.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 96045cb2d..77a64790d 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -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);