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,90 +1,90 @@
# requests
msg destroy = 0 {
request destroy = 0 {
}
msg get_log_file = 1 {
request get_log_file = 1 {
id: id(jay_log_file),
}
msg quit = 2 {
request quit = 2 {
}
msg set_log_level = 3 {
request set_log_level = 3 {
level: u32,
}
msg take_screenshot = 4 {
request take_screenshot = 4 {
id: id(jay_screenshot),
}
msg get_idle = 5 {
request get_idle = 5 {
id: id(jay_idle),
}
msg get_client_id = 6 {
request get_client_id = 6 {
}
msg enable_symmetric_delete = 7 {
request enable_symmetric_delete = 7 {
}
msg unlock = 8 {
request unlock = 8 {
}
msg get_seats = 9 {
request get_seats = 9 {
}
msg seat_events = 10 {
request seat_events = 10 {
id: id(jay_seat_events),
}
msg get_output = 11 {
request get_output = 11 {
id: id(jay_output),
output: id(wl_output),
}
msg get_pointer = 12 {
request get_pointer = 12 {
id: id(jay_pointer),
seat: id(wl_seat),
}
msg get_render_ctx = 13 {
request get_render_ctx = 13 {
id: id(jay_render_ctx),
}
msg watch_workspaces = 14 {
request watch_workspaces = 14 {
id: id(jay_workspace_watcher),
}
msg create_screencast = 15 {
request create_screencast = 15 {
id: id(jay_screencast),
}
msg get_randr = 16 {
request get_randr = 16 {
id: id(jay_randr),
}
msg get_input = 17 {
request get_input = 17 {
id: id(jay_input),
}
msg take_screenshot2 = 18 {
request take_screenshot2 = 18 {
id: id(jay_screenshot),
include_cursor: u32,
}
# events
msg client_id = 0 {
event client_id = 0 {
client_id: pod(u64),
}
msg seat = 1 {
event seat = 1 {
id: u32,
name: str,
}