projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ea4b9b
)
finish xwl dnd operation immediately if drop occurred somehow
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 11 Aug 2015 20:03:01 +0000
(16:03 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 11 Aug 2015 20:04:54 +0000
(16:04 -0400)
src/modules/xwayland/dnd.c
patch
|
blob
|
history
diff --git
a/src/modules/xwayland/dnd.c
b/src/modules/xwayland/dnd.c
index
074bf8b
..
a320880
100644
(file)
--- 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
{