forked from enlightenment/enlightenment
set the spacer rect as the drop handler base when creating gadget drop handlers
this provides layering info to dnd internals
This commit is contained in:
parent
2d9ee4233e
commit
ca7bc28286
|
@ -1436,6 +1436,7 @@ e_gadget_drop_handler_add(Evas_Object *g, void *data,
|
|||
enter_cb, move_cb, leave_cb, drop_cb,
|
||||
types, num_types, x, y, w, h);
|
||||
drop_object = evas_object_rectangle_add(e_comp->evas);
|
||||
drop_handler->base = drop_object;
|
||||
evas_object_color_set(drop_object, 0, 0, 0, 0);
|
||||
e_object_data_set(E_OBJECT(drop_handler), drop_object);
|
||||
evas_object_data_set(drop_object, "gadget_drop_handler", drop_handler);
|
||||
|
|
Loading…
Reference in New Issue