diff --git a/wayland-backend/src/protocol.rs b/wayland-backend/src/protocol.rs index a60f3cf74ae..05796381a32 100644 --- a/wayland-backend/src/protocol.rs +++ b/wayland-backend/src/protocol.rs @@ -126,7 +126,7 @@ impl std::fmt::Display for Argument match self { Self::Int(value) => write!(f, "{}", value), Self::Uint(value) => write!(f, "{}", value), - Self::Fixed(value) => write!(f, "{}", value), + Self::Fixed(value) => write!(f, "{:.4}", *value as f64 / 256.0), Self::Str(value) => write!(f, "{:?}", value), Self::Object(value) => write!(f, "{}", value), Self::NewId(value) => write!(f, "{}", value),