libweston: Advertise minor version 2 of zwp_linux_explicit_synchronization_v1
Although we already supported minor version 2 of the explicit sync protocol, we couldn't advertise it previously, since it was not in any released version of wayland-protocols. With the release of wayland-protocols 1.18, which includes minor version 2 of this protocol, and the recent update in weston to require 1.18, we can now safely advertise minor version 2. Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
This commit is contained in:
committed by
Pekka Paalanen
parent
a89266f422
commit
3802241c46
@@ -56,11 +56,11 @@ get_linux_explicit_synchronization(struct client *client)
|
||||
}
|
||||
|
||||
assert(global_sync);
|
||||
assert(global_sync->version == 1);
|
||||
assert(global_sync->version == 2);
|
||||
|
||||
sync = wl_registry_bind(
|
||||
client->wl_registry, global_sync->name,
|
||||
&zwp_linux_explicit_synchronization_v1_interface, 1);
|
||||
&zwp_linux_explicit_synchronization_v1_interface, 2);
|
||||
assert(sync);
|
||||
|
||||
return sync;
|
||||
|
||||
Reference in New Issue
Block a user