discomfitor pushed a commit to branch master.

commit 76ed05375d615b11c39f059ab71acbde3dd95d12
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed May 29 08:21:47 2013 +0100

    register comp canvas for dnd during creation
---
 src/bin/e_comp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 9329934..5d86038 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -4088,7 +4088,6 @@ _e_comp_populate(E_Comp *c)
    evas_object_name_set(c->layout, "c->layout");
    evas_object_layer_set(c->layout, E_COMP_CANVAS_LAYER_LAYOUT);
    evas_object_show(c->layout);
-   e_drop_xdnd_register_set(c->win, 1);
 
    EINA_LIST_FOREACH(c->man->containers, l, con)
      {
@@ -4244,6 +4243,7 @@ _e_comp_add(E_Manager *man)
    ecore_evas_show(c->ee);
 
    c->ee_win = ecore_evas_window_get(c->ee);
+   e_drop_xdnd_register_set(c->win, 1);
    c->pointer = e_pointer_window_new(c->ee_win, 0);
    ecore_x_composite_redirect_subwindows
      (c->man->root, ECORE_X_COMPOSITE_UPDATE_MANUAL);

-- 

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1

Reply via email to