discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=576f0bab2dbc218c33c7aa3fa315f41f27dd83c3

commit 576f0bab2dbc218c33c7aa3fa315f41f27dd83c3
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Jan 28 20:43:03 2014 -0500

    reject successive attempts to add evas callbacks in X compositor
---
 src/bin/e_comp_x.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index cf3717f..4aae315 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -1062,6 +1062,7 @@ _e_comp_x_resize_request(void *data EINA_UNUSED, int type 
EINA_UNUSED, Ecore_X_E
 static void
 _e_comp_x_client_evas_init(E_Client *ec)
 {
+   if (ec->comp_data->evas_init) return;
    ec->comp_data->evas_init = 1;
    evas_object_event_callback_add(ec->frame, EVAS_CALLBACK_RESTACK, 
_e_comp_x_evas_stack_cb, ec);
    evas_object_event_callback_add(ec->frame, EVAS_CALLBACK_SHOW, 
_e_comp_x_evas_show_cb, ec);

-- 


Reply via email to