diff --git a/wayland-backend/src/protocol.rs b/wayland-backend/src/protocol.rs index 87b0f50b541..a684917a2b1 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),