diff options
author | Tadeo Kondrak <me@tadeo.ca> | 2020-06-11 13:39:56 -0600 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-27 17:49:10 +0000 |
commit | efab39642ec9f446b98b2fb7c194306a033099a4 (patch) | |
tree | 15e3c5d803f6e1b2e5d8c7cca33514cb0fd2279f | |
parent | f1cc5d0c375e41c73969ec72ca86d8421a9cb1e6 (diff) |
protocol: Add type attribute to events
This allows specifying events to be destructors, which is useful for
non-C language bindings. It is unused in wayland-scanner.
Signed-off-by: Tadeo Kondrak <me@tadeo.ca>
-rw-r--r-- | protocol/wayland.dtd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocol/wayland.dtd b/protocol/wayland.dtd index 15f20ab..ee062ee 100644 --- a/protocol/wayland.dtd +++ b/protocol/wayland.dtd @@ -10,6 +10,7 @@ <!ATTLIST request since CDATA #IMPLIED> <!ELEMENT event (description?,arg*)> <!ATTLIST event name CDATA #REQUIRED> + <!ATTLIST event type CDATA #IMPLIED> <!ATTLIST event since CDATA #IMPLIED> <!ELEMENT enum (description?,entry*)> <!ATTLIST enum name CDATA #REQUIRED> |