# requests

request destroy {

}

request get_log_file {
    id: id(jay_log_file),
}

request quit {
}

request set_log_level {
    level: u32,
}

request take_screenshot {
    id: id(jay_screenshot),
}

request get_idle {
    id: id(jay_idle),
}

request get_client_id {

}

request enable_symmetric_delete {

}

request unlock {

}

request get_seats {

}

request seat_events {
    id: id(jay_seat_events),
}

request get_output {
    id: id(jay_output),
    output: id(wl_output),
}

request get_pointer {
    id: id(jay_pointer),
    seat: id(wl_seat),
}

request get_render_ctx {
    id: id(jay_render_ctx),
}

request watch_workspaces {
    id: id(jay_workspace_watcher),
}

request create_screencast {
    id: id(jay_screencast),
}

request get_randr {
    id: id(jay_randr),
}

request get_input {
    id: id(jay_input),
}

request take_screenshot2 {
    id: id(jay_screenshot),
    include_cursor: u32,
}

request select_toplevel {
    id: id(jay_select_toplevel),
    seat: id(wl_seat),
}

request select_workspace {
    id: id(jay_select_workspace),
    seat: id(wl_seat),
}

request create_ei_session (since = 5) {
    id: id(jay_ei_session_builder),
}

request get_xwayland (since = 11) {
    id: id(jay_xwayland),
}

request get_toplevel (since = 12) {
    id: id(jay_select_toplevel),
    toplevel_id: str,
}

request get_color_management (since = 14) {
    id: id(jay_color_management),
}

request reexec (since = 17) {
    id: id(jay_reexec),
}

request create_client_query (since = 18) {
    id: id(jay_client_query),
}

request kill_client (since = 18) {
    id: pod(u64),
}

request create_tree_query (since = 18) {
    id: id(jay_tree_query),
}

request get_tagged_acceptor (since = 25) {
    id: id(jay_acceptor_request),
    tag: str,
}

request get_sync_file_surface (since = 26) {
    id: id(jay_sync_file_surface),
    surface: id(wl_surface),
}

request get_pid (since = 27) {

}

# events

event client_id {
    client_id: pod(u64),
}

event seat {
    id: u32,
    name: str,
}

event capabilities {
    cap: array(pod(u16)),
}

event pid (since = 27) {
    pid: pod(uapi::c::pid_t),
}
