Skip to main content

primary_monitor

Function primary_monitor 

Source
fn primary_monitor<C: Connection>(
    conn: &C,
    root: Window,
    screen: &Screen,
) -> (i32, i32, i32, i32)
Expand description

RANDR primary-monitor geometry (x, y, w, h), falling back to the whole X screen if RANDR/primary is unavailable.