Function winit::platform_impl::linux::x11::window::cast_dimension_to_hint
source ยท fn cast_dimension_to_hint(val: u32) -> i32
Expand description
Cast a dimension value into a hinted dimension for WmSizeHints
, clamping if too large.