ecore wayland: add selection type
authorThiep Ha <thiepha@gmail.com>
Tue, 3 May 2016 10:42:31 +0000 (10:42 +0000)
committerThiep Ha <thiepha@gmail.com>
Tue, 3 May 2016 17:13:47 +0000 (17:13 +0000)
commitaa0ace21d7d1aa014fd3a5e743d8787ee35622aa
tree4d2865c529b729276c95e36b56027289f3beee36
parentbcba96656afc534a8ad70da772a95aba592878fc
ecore wayland: add selection type

We have copy & paste and drag & drop selection types, but we cannot
distinguish between these two types when requesters receive data
from data ready event.
This patch adds a new enum to help selection requesters distinguish
between two selection types and have suitable actions for each type.
src/lib/ecore_wl2/Ecore_Wl2.h
src/lib/ecore_wl2/ecore_wl2_dnd.c
src/lib/ecore_wl2/ecore_wl2_private.h