Re: [PATCH wayland 1/2] add a dnd actions mechanism

2013-03-13 Thread Gregory Merchan
The XDND spec also has ASK and PRIVATE. http://www.newplanetsoftware.com/xdnd/ ASK allows a user to defer a decision until the last moment; to select from a menu when the combination for moving, copying, or linking is forgotten; and to be prompted before in irreversible action. PRIVATE could allo

Re: [PATCH wayland 1/2] add a dnd actions mechanism

2013-03-13 Thread Giulio Camuffo
2013/3/13 Jason Ekstrand : > On Wed, Mar 13, 2013 at 4:59 AM, Giulio Camuffo > wrote: >> When creating a wl_data_source the client must now set certain supported >> actions on the data: COPY, MOVE or LINK. The target client will choose one >> of these (or IGNORE) after receiving the data and will

Re: [PATCH wayland 1/2] add a dnd actions mechanism

2013-03-13 Thread Jason Ekstrand
On Wed, Mar 13, 2013 at 4:59 AM, Giulio Camuffo wrote: > When creating a wl_data_source the client must now set certain supported > actions on the data: COPY, MOVE or LINK. The target client will choose one > of these (or IGNORE) after receiving the data and will notify the server > which one it i

[PATCH wayland 1/2] add a dnd actions mechanism

2013-03-13 Thread Giulio Camuffo
When creating a wl_data_source the client must now set certain supported actions on the data: COPY, MOVE or LINK. The target client will choose one of these (or IGNORE) after receiving the data and will notify the server which one it is, with wl_data_source_notify_received(). The wl_data_source wil