Re: [PATCH weston 3/4] data-device: Update current action even if source version is old

2016-04-21 Thread Carlos Garnacho
Hi!, On Thu, Apr 21, 2016 at 5:09 AM, Jonas Ådahl wrote: > If the version of the source object is old enough to not have > wl_data_source.set_actions() the current action would never be updated > since source->set_actions would never be set. > > To fix this, instead of checking whether source->se

Re: [PATCH weston 3/4] data-device: Update current action even if source version is old

2016-04-21 Thread Mike Blumenkrantz
On Wed, Apr 20, 2016 at 11:11 PM Jonas Ådahl wrote: > If the version of the source object is old enough to not have > wl_data_source.set_actions() the current action would never be updated > since source->set_actions would never be set. > > To fix this, instead of checking whether source->set_act

[PATCH weston 3/4] data-device: Update current action even if source version is old

2016-04-20 Thread Jonas Ådahl
If the version of the source object is old enough to not have wl_data_source.set_actions() the current action would never be updated since source->set_actions would never be set. To fix this, instead of checking whether source->set_actions before proceeding with updating the current action, just a