utils: add missing feature cfg
use std::fmt;
use std::ops::{Add, AddAssign, Sub, SubAssign};
+#[cfg(feature = "wayland_frontend")]
use wayland_server::protocol::wl_output::Transform as WlTransform;
/// Type-level marker for the logical coordinate space
@@ -1210,6 +1211,7 @@ impl Transform {
}
}
+#[cfg(feature = "wayland_frontend")]
impl From<Transform> for WlTransform {
fn from(transform: Transform) -> Self {
match transform {
