elm_cnp: remove drag window when drop on non-dropable win 49/78649/2 accepted/tizen/common/20160707.171423 accepted/tizen/ivi/20160707.042801 accepted/tizen/mobile/20160707.042833 accepted/tizen/tv/20160707.042815 accepted/tizen/wearable/20160707.042822 submit/tizen/20160706.230322
authorThiep Ha <thiep.ha@samsung.com>
Wed, 6 Jul 2016 09:30:37 +0000 (18:30 +0900)
committerThiep Ha <thiep.ha@samsung.com>
Wed, 6 Jul 2016 09:54:34 +0000 (18:54 +0900)
commit789fb4b66ebed4c17d1b6ac2621b70b1e5cf5d8e
treeccf3c0a7d803d5f8fc7ff763c95aab16742345e7
parent5e793c4017a645dd76c3c309e808a7dec5d308e6
elm_cnp: remove drag window when drop on non-dropable win

When we do dnd between two applications and the drop application
is non-dropable application, the drag window is not removed.
This patch fixes this issue by a workaround way:
remove drag window when the object is hidden or deleted.

@tizen_fix

Change-Id: I4415f2730dbe875fe3de6510a23e9e64df1d6dd8
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
src/lib/elm_cnp.c