projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69fc261
)
ecore_wayland: free drag source when drag leave event comes.
85/130585/3
author
Taehyub Kim
<taehyub.kim@samsung.com>
Tue, 23 May 2017 04:29:35 +0000
(13:29 +0900)
committer
Taehyub Kim
<taehyub.kim@samsung.com>
Tue, 23 May 2017 05:25:02 +0000
(14:25 +0900)
This is relate to triggering ECORE_WL_EVENT_DATA_SOURCE_CANCELLED.
Change-Id: I8af837114a8a9973a3563d1d16aaae91131939d1
src/lib/ecore_wayland/ecore_wl_dnd.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_wayland/ecore_wl_dnd.c
b/src/lib/ecore_wayland/ecore_wl_dnd.c
index
5f7a6ac
..
4de60b8
100644
(file)
--- a/
src/lib/ecore_wayland/ecore_wl_dnd.c
+++ b/
src/lib/ecore_wayland/ecore_wl_dnd.c
@@
-507,6
+507,12
@@
_ecore_wl_dnd_leave(void *data, struct wl_data_device *data_device EINA_UNUSED)
if (input->keyboard_focus)
ev->source = input->keyboard_focus->id;
+ if (input->drag_source)
+ {
+ _ecore_wl_dnd_del(input->drag_source);
+ input->drag_source = NULL;
+ }
+
ecore_event_add(ECORE_WL_EVENT_DND_LEAVE, ev, NULL, NULL);
}