Skip to main content

screen_control_offered

Function screen_control_offered 

Source
pub fn screen_control_offered(socket_path: &str) -> Result<bool, String>
Expand description

Whether the compositor on socket_path serves zkde_screencast_unstable_v1 at the version carrying stream_virtual_output: the rung a session with no control socket is offered a second display on. A registry read alone, so a session is asked on every landing without a screen coming or going on it; whether a grown screen registers is [grow]’s to prove. Err only when the compositor is unreachable.