---
src/engines/xcb/ewl_engine_xcb.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/engines/xcb/ewl_engine_xcb.c b/src/engines/xcb/ewl_engine_xcb.c
index 4a8c32e..1452f6e 100644
--- a/src/engines/xcb/ewl_engine_xcb.c
+++ b/src/engines/xcb/ewl_engine_xcb.c
@@ -1262,7 +1262,7 @@ ewl_ev_x_mouse_up(void *data __UNUSED__, int type
__UNUSED__, void *e)
clicks = 3;
key_modifiers = ewl_ev_modifiers_get();
- ewl_embed_mouse_up_feed(EWL_EMBED(window), ev->buttons, ev->x,
+ ewl_embed_mouse_up_feed(EWL_EMBED(window), ev->buttons, clicks, ev->x,
ev->y, key_modifiers);
DRETURN_INT(TRUE, DLEVEL_STABLE);
@@ -1570,7 +1570,6 @@ ewl_ev_dnd_drop(void *data __UNUSED__, int type
__UNUSED__, void *e)
{
Ewl_Embed *embed;
Ecore_X_Event_Xdnd_Drop *ev;
- int internal = 0;
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET(e, FALSE);
@@ -1584,13 +1583,10 @@ ewl_ev_dnd_drop(void *data __UNUSED__, int type
__UNUSED__, void *e)
ewl_embed_window_position_get(embed, &wx, &wy);
- if (ev->source == (Ecore_X_Window)embed->canvas_window)
- internal = 1;
-
x = ev->position.x - wx;
y = ev->position.y - wy;
- type = ewl_embed_dnd_drop_feed(embed, x, y, internal);
+ type = ewl_embed_dnd_drop_feed(embed, x, y);
if (type)
ecore_x_selection_xdnd_request(ev->win, (char *)type);
}
--
1.6.2.1
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel