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.
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel