Skip to main content

list_screens

Function list_screens 

Source
pub fn list_screens(socket_path: &str) -> Result<Vec<AppScreen>, String>
Expand description

The session’s enabled screens as (name, x, y, width, height), in screen order — what the compositor actually did with a layout and a mode, which is not always what it was asked for. A head carries no size itself, so the size is its current mode’s; (0, 0) where it announced none. Empty when the compositor manages no outputs for clients.