Skip to main content

is_wayland_session

Function is_wayland_session 

Source
fn is_wayland_session() -> bool
Expand description

Whether this is a Wayland session. Used to decide if the overlay geometry needs the HiDPI scale correction below (#67). Mirrors the probe in video.rs; kept local so the overlay path stays self-contained.