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,30 +1,30 @@
# requests
msg destroy = 0 { }
request destroy = 0 { }
msg get_toplevel = 1 {
request get_toplevel = 1 {
id: id(xdg_toplevel),
}
msg get_popup = 2 {
request get_popup = 2 {
id: id(xdg_popup),
parent: id(xdg_surface),
positioner: id(xdg_positioner),
}
msg set_window_geometry = 3 {
request set_window_geometry = 3 {
x: i32,
y: i32,
width: i32,
height: i32,
}
msg ack_configure = 4 {
request ack_configure = 4 {
serial: u32,
}
# events
msg configure = 0 {
event configure = 0 {
serial: u32,
}