x11rb::protocol::randr

Function set_screen_size

Source
pub fn set_screen_size<Conn>(
    conn: &Conn,
    window: Window,
    width: u16,
    height: u16,
    mm_width: u32,
    mm_height: u32,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,