# requests

request destroy {

}

request set_parent {
    parent: id(xdg_toplevel),
}

request set_title {
    title: str,
}

request set_app_id {
    app_id: str,
}

request show_window_menu {
    seat: id(wl_seat),
    serial: u32,
    x: i32,
    y: i32,
}

request move {
    seat: id(wl_seat),
    serial: u32,
}

request resize {
    seat: id(wl_seat),
    serial: u32,
    edges: u32,
}

request set_max_size {
    width: i32,
    height: i32,
}

request set_min_size {
    width: i32,
    height: i32,
}

request set_maximized { }

request unset_maximized { }

request set_fullscreen {
    output: id(wl_output),
}

request unset_fullscreen {

}

request set_minimized { }

# events

event configure {
    width: i32,
    height: i32,
    states: array(u32),
}

event close { }

event configure_bounds (since = 4) {
    width: i32,
    height: i32,
}

event wm_capabilities (since = 5) {
    capabilities: array(u32),
}
