1
0
Fork 0
forked from wry/wry

Merge pull request #712 from kotarac/flip-margin

cli: always show flip margin
This commit is contained in:
mahkoh 2026-01-09 09:57:05 +01:00 committed by GitHub
commit 9140df81be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1023,13 +1023,11 @@ impl Randr {
println!(" transform: {}", name); println!(" transform: {}", name);
} }
if let Some(flip_margin_ns) = o.flip_margin_ns { if let Some(flip_margin_ns) = o.flip_margin_ns {
if flip_margin_ns != 1_500_000 {
println!( println!(
" flip margin: {:?}", " flip margin: {:?}",
Duration::from_nanos(flip_margin_ns) Duration::from_nanos(flip_margin_ns)
); );
} }
}
if o.supported_color_spaces.is_not_empty() { if o.supported_color_spaces.is_not_empty() {
println!(" color spaces:"); println!(" color spaces:");
let handle_cs = |cs: &str| { let handle_cs = |cs: &str| {