discomfitor pushed a commit to branch master.

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

commit dcc22aa27cdff2f8ff5d1452b95b221279c02aa1
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Aug 11 16:03:01 2015 -0400

    finish xwl dnd operation immediately if drop occurred somehow
---
 src/modules/xwayland/dnd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/xwayland/dnd.c b/src/modules/xwayland/dnd.c
index 074bf8b..a320880 100644
--- a/src/modules/xwayland/dnd.c
+++ b/src/modules/xwayland/dnd.c
@@ -88,11 +88,11 @@ _xwayland_dnd_finish(void)
 }
 
 static void
-_xwayland_drop(E_Drag *drag, int dropped EINA_UNUSED)
+_xwayland_drop(E_Drag *drag, int dropped)
 {
    if (e_comp->comp_type != E_PIXMAP_TYPE_WL) return;
    e_comp->wl_comp_data->drag = NULL;
-   if (e_object_is_del(E_OBJECT(drag)) || 
(!e_comp->wl_comp_data->selection.target))
+   if (dropped || e_object_is_del(E_OBJECT(drag)) || 
(!e_comp->wl_comp_data->selection.target))
      _xdnd_finish(0);
    else
      {

-- 


Reply via email to