wire: split messages into requests and events
This commit is contained in:
parent
2b35f30ed4
commit
c473d63df3
98 changed files with 495 additions and 486 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue