https://bugs.freedesktop.org/show_bug.cgi?id=82126

          Priority: medium
            Bug ID: 82126
          Assignee: [email protected]
           Summary: protocol xml: align interface version number with it's
                    factory counterpart
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: wayland
           Product: Wayland

Currently the xml defines factory interfaces with a version. Implicitly the
created object's interface should have the same version as the factory. However
the protocol xml does not align factory interface versions with the interfaces
of objects it creates.

This leads to confusing and cumbersome parsing because implicit rules and
restrictions have to be deduced from the protocol xml when generating bindings.

Example (1.5):
wl_compositor can be v3, has a create_region with new_id.
wl_region can be at most v1.

My suggestion is to align interface versions so that they match the interface
version of the factory that creates it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to