Re: [PATCH weston v3] data-device: Implement DnD actions

2015-11-02 Thread Carlos Garnacho
On Sat, Oct 31, 2015 at 12:22 AM, Michael Catanzaro wrote: > On Fri, 2015-10-30 at 22:06 +0100, Carlos Garnacho wrote: >> --- a/clients/dnd.c >> +++ b/clients/dnd.c >> @@ -72,6 +72,7 @@ struct dnd_drag { >> struct item *item; >> int x_offset, y_offset; >> int width, height; >> +

Re: [PATCH weston v3] data-device: Implement DnD actions

2015-10-30 Thread Michael Catanzaro
On Fri, 2015-10-30 at 22:06 +0100, Carlos Garnacho wrote: > --- a/clients/dnd.c > +++ b/clients/dnd.c > @@ -72,6 +72,7 @@ struct dnd_drag { > struct item *item; > int x_offset, y_offset; > int width, height; > + uint32_t dnd_action; > const char *mime_type; > > s

[PATCH weston v3] data-device: Implement DnD actions

2015-10-30 Thread Carlos Garnacho
The policy in weston in order to determine the chosen DnD action is deliberately simple, and is probably the minimals that any compositor should be doing here. Besides honoring the set_actions requests on both wl_data_source and wl_data_offer, weston now will emit the newly added "action" events n

Re: [PATCH weston v3] data-device: Implement DnD actions

2015-10-23 Thread Bryce Harrington
On Wed, Sep 30, 2015 at 10:50:44PM +0200, Carlos Garnacho wrote: > The policy in weston in order to determine the chosen DnD action is > deliberately simple, and is probably the minimals that any compositor > should be doing here. > > Besides honoring the set_actions requests on both wl_data_sourc

Re: [PATCH weston v3] data-device: Implement DnD actions

2015-09-30 Thread Michael Catanzaro
Reviewed-by: Michael Catanzaro On Wed, 2015-09-30 at 22:50 +0200, Carlos Garnacho wrote: > The policy in weston in order to determine the chosen DnD action is > deliberately simple, and is probably the minimals that any compositor > should be doing here. > > Besides honoring the set_actions requ

[PATCH weston v3] data-device: Implement DnD actions

2015-09-30 Thread Carlos Garnacho
The policy in weston in order to determine the chosen DnD action is deliberately simple, and is probably the minimals that any compositor should be doing here. Besides honoring the set_actions requests on both wl_data_source and wl_data_offer, weston now will emit the newly added "action" events n