This provides a standardized mechanism for tracking protocol object
versions in client code. The wl_display object is created with version 1. Every time an object is created from within wl_registry_bind, it gets the bound version. Every other time an object is created, it simply inherits it's version from the parent object that created it.
(comments and minor reformatting added by Derek Foreman
557032e Track protocol object versions inside wl_proxy.
src/scanner.c | 34 ++++++++---
src/wayland-client-core.h | 15 +++++
src/wayland-client.c | 139 ++++++++++++++++++++++++++++++++++++++++++---
3 files changed, 173 insertions(+), 15 deletions(-)
Upstream: cgit.freedesktop.org