Skip to main content

wheel_jump_detents

Function wheel_jump_detents 

pub fn wheel_jump_detents(delta: &MouseScrollDelta) -> f64
Expand description

Scroll delta → fractional jump detents. Winit’s y is flipped (positive = up), so wheel-DOWN yields a positive detent = jump right/next, matching Niri’s Mod+Shift+WheelScrollDown → focus-column-right.