Skip to main content

agent_surface_max_items

Function agent_surface_max_items 

Source
pub fn agent_surface_max_items(flag: Option<usize>) -> usize
Expand description

GAP-SG-142: cap on emitted result elements, from --max-items or XDG agent_surface.max_items.

0 keeps every element, which is what makes the shaping surface opt-in: an operator who sets nothing gets the historical envelope unchanged.