1
0
Fork 0
forked from wry/wry

wire: split messages into requests and events

This commit is contained in:
Julian Orth 2024-04-08 11:56:26 +02:00
parent 2b35f30ed4
commit c473d63df3
98 changed files with 495 additions and 486 deletions

View file

@ -1,21 +1,21 @@
# requests
msg sync = 0 {
request sync = 0 {
callback: id(wl_callback),
}
msg get_registry = 1 {
request get_registry = 1 {
registry: id(wl_registry),
}
# events
msg error = 0 {
event error = 0 {
object_id: id(object),
code: u32,
message: str,
}
msg delete_id = 1 {
event delete_id = 1 {
id: u32,
}