ecore_evas: add API for finding out if event is used
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Tue, 14 Apr 2020 15:29:43 +0000 (11:29 -0400)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 15 Apr 2020 22:54:45 +0000 (07:54 +0900)
commit7982122def50a8996951f20a1743c1e409c08932
tree89bc5da81bd4c8994786257fdd694c2bd6b28ca5
parentf48a50bc9ace541d9637120229c5d81a91e5bf8f
ecore_evas: add API for finding out if event is used

Summary:
ecore_x_dnd_send_status can be used to indicate if a item can be dropped
on a client or not. However, we should only indicate that this can be
dropped, if there is a object we signaled that a drop is in.

Long story short: there is no assertion that after indicating that
things can be dropped, that a notify for the data is sent. A drag
implementation should always listen to a mouse up event, and abort the
drag if no further operations are sent.
Depends on D11698

Reviewers: zmike, stefan_schmidt, raster

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11699
src/lib/ecore_evas/ecore_evas.c
src/lib/ecore_evas/ecore_evas_private.h
src/lib/elementary/efl_ui_win.c
src/modules/ecore_evas/engines/x/ecore_evas_x.c