fn select_by_pid<'a, W: WindowFacts>(
all: &'a [W],
foreign: &[&'a W],
target_pid: u32,
index: Option<usize>,
resolved: &mut Option<(CaptureTier, String)>,
) -> Result<&'a W>Expand description
select_target for a pid. foreign is all without the withheld windows.