# requests

msg destroy = 0 { }

msg get_toplevel = 1 {
    id: id(xdg_toplevel),
}

msg get_popup = 2 {
    id: id(xdg_popup),
    parent: id(xdg_surface),
    positioner: id(xdg_positioner),
}

msg set_window_geometry = 3 {
    x: i32,
    y: i32,
    width: i32,
    height: i32,
}

msg ack_configure = 4 {
    serial: u32,
}

# events

msg configure = 0 {
    serial: u32,
}
