[PATCH weston v6 2/2] window : compare version and call appropriate destructor
Bill Spitzak
spitzak at gmail.com
Mon Oct 20 13:37:07 PDT 2014
On 10/20/2014 01:01 AM, Giulio Camuffo wrote:
>> + d->data_device_manager_version = MIN(version, 2);
>> d->data_device_manager =
>> - wl_registry_bind(registry, id,
>> - &wl_data_device_manager_interface, 1);
>> + wl_registry_bind(registry, id,
>> + &wl_data_device_manager_interface, d->data_device_manager_version);
>
> The version used here should be MIN(d->data_device_manager_version, version)
Looks to me like that value was set to MIN(2, version) in the top line
of this patch so that is going to be the same value.
More information about the wayland-devel
mailing list