ecore_wl2: introduce offer api
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Thu, 22 Sep 2016 07:13:48 +0000 (09:13 +0200)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Fri, 23 Sep 2016 09:15:14 +0000 (11:15 +0200)
commit5884bba09694626a04c9de56229353fd76d3d945
treed8695534031b515d56229212de09fe3348d00649
parent7d6fd1052353c113340fd9f7891cf9d301bf1e73
ecore_wl2: introduce offer api

This commits adds api to deal with wayland offers.
It also ports elm_cnp to use the new api.

The selection_get and dnd_drag_get calls are replaced by simply receive
data from the offer.

The Offer object is now also emitted in every Enter,Motion,Drop and
Leave event, so a potential user can prefetch data and display it.
To finish a dnd operation positiv, the user has to call the finish call
before the offer is destroyed
src/lib/ecore_wl2/Ecore_Wl2.h
src/lib/ecore_wl2/ecore_wl2.c
src/lib/ecore_wl2/ecore_wl2_dnd.c
src/lib/ecore_wl2/ecore_wl2_input.c
src/lib/ecore_wl2/ecore_wl2_private.h
src/lib/elementary/elm_cnp.c