fn has_compositor<C: Connection>(
conn: &C,
screen_num: usize,
) -> Result<bool, Box<dyn Error>>Expand description
True if a compositing manager owns the _NET_WM_CM_S<screen> selection
(GNOME/Mutter and XWayland under it always do) — i.e. per-pixel alpha works.